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

AF SDK Reference

AFAttribute.SupportedContexts Property

  • Last UpdatedNov 18, 2025
  • 2 minute read
AFAttribute.SupportedContexts Property
This read-only property specifies which of the data reference contexts are supported when getting and/or setting values.

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

Syntax

public AFDataReferenceContext SupportedContexts { get; }
Public ReadOnly Property SupportedContexts As AFDataReferenceContext
	Get

Dim instance As AFAttribute
Dim value As AFDataReferenceContext

value = instance.SupportedContexts
public:
property AFDataReferenceContext SupportedContexts {
	AFDataReferenceContext get ();
}
member SupportedContexts : AFDataReferenceContext with get

Property Value

Type: AFDataReferenceContext
Specifies which of the data reference contexts are supported. Its value can be one or more of the AFDataReferenceContext enumeration values logically ORed together.

Remarks

The context normally applies to the GetValue, SetValue, and GetValues methods. However, the TimeRange context applies only to GetValue and indicates the data reference can return a single value for the entire range, such as a totalization.

Version Information

AFSDK


See Also

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