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

AF SDK Reference

AFBaseElement.Attributes Property

  • Last UpdatedNov 18, 2025
  • 2 minute read
AFBaseElement.Attributes Property
This is a collection of attributes that are owned by this element.

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

Syntax

public AFAttributes Attributes { get; }
Public ReadOnly Property Attributes As AFAttributes
	Get

Dim instance As AFBaseElement
Dim value As AFAttributes

value = instance.Attributes
public:
property AFAttributes^ Attributes {
	AFAttributes^ get ();
}
member Attributes : AFAttributes with get

Property Value

Type: AFAttributes
Collection of attributes that are owned by this element.

Remarks

If this element was created from an AFElementTemplate, then this collection is initially created from the AttributeTemplates collection of that element template. Changes to the collection of attribute templates (i.e. rename, add, remove) automatically cause similar changes to the AFAttribute objects in this collection.

If the element was not created from a template, or, if the AllowElementToExtend property of the template used to create this element is , then additional attributes which are not defined by an attribute template can be added to this instance.

Version Information

AFSDK


See Also

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