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

AF SDK Reference

AFDataReference.Attribute Property

  • Last UpdatedNov 18, 2025
  • 2 minute read
AFDataReference.Attribute Property
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: AFAttribute
Returns 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.

Version Information

AFSDK


See Also

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