Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AF SDK Reference

AFAttribute.IsSupportedDataMethod Method

  • Last UpdatedNov 18, 2025
  • 2 minute read
AFAttribute.IsSupportedDataMethod Method
Tests if the attribute supports the specified set of AFDataMethods. The result of this method is consistent with the SupportedDataMethods property, but this method allows omission of testing unnecessary modes.

Namespace:  OSIsoft.AF.Asset
Assembly:  OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182

Syntax

public bool IsSupportedDataMethod(
	AFDataMethods dataMethods
)
Public Function IsSupportedDataMethod ( 
	dataMethods As AFDataMethods
) As Boolean

Dim instance As AFAttribute
Dim dataMethods As AFDataMethods
Dim returnValue As Boolean

returnValue = instance.IsSupportedDataMethod(dataMethods)
public:
bool IsSupportedDataMethod(
	AFDataMethods dataMethods
)
member IsSupportedDataMethod : 
        dataMethods : AFDataMethods -> bool 

Parameters

dataMethods
Type: OSIsoft.AF.DataAFDataMethods
The set of AFDataMethods that should be tested.

Return Value

Type: Boolean
if all specified modes are supported by the attribute.

Version Information

AFSDK

Supported in: 3.1.1, 3.1.0, 3.0.2, 3.0.1, 3.0.0, 2.10.11, 2.10.5, 2.10.0, 2.10, 2.9.5, 2.9, 2.8.5, 2.8

See Also

In This Topic
Related Links
TitleResults for “How to create a CRG?”Also Available in