AFDataReference.Attribute Property
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
This property returns the attribute that owns this object.
Namespace: OSIsoft.AF.Asset
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public virtual AFAttribute Attribute { get; set; }
Public Overridable Property Attribute As AFAttribute Get Set Dim instance As AFDataReference Dim value As AFAttribute value = instance.Attribute instance.Attribute = value
public: virtual property AFAttribute^ Attribute { AFAttribute^ get (); void set (AFAttribute^ value); }
abstract Attribute : AFAttribute with get, set override Attribute : AFAttribute with get, set
Property Value
Type: AFAttributeReturns the attribute that owns this object.
Remarks
If this object is owned by an AFAttribute, then this property will be defined and the Template property will be . If this object is owned by an AFAttributeTemplate, then this property will be and the Template property will be defined.
This property is set by the AF SDK after the instance has been created. An implementation of a plugin can override the set method to perform any initialization that is necessary.