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

AF SDK Reference

AFDataReference.SupportedContexts Property

  • Last UpdatedNov 18, 2025
  • 2 minute read
AFDataReference.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 virtual AFDataReferenceContext SupportedContexts { get; }
Public Overridable ReadOnly Property SupportedContexts As AFDataReferenceContext
	Get

Dim instance As AFDataReference
Dim value As AFDataReferenceContext

value = instance.SupportedContexts
public:
virtual property AFDataReferenceContext SupportedContexts {
	AFDataReferenceContext get ();
}
abstract SupportedContexts : AFDataReferenceContext with get
override 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