AFAttribute.SupportedContexts Property
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
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: AFDataReferenceContextSpecifies 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.