AFAttribute.IsSupportedDataMethod Method
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
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: Booleanif all specified modes are supported by the attribute.