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

AF SDK Reference

AFAttributes.Parent Property

  • Last UpdatedNov 18, 2025
  • 2 minute read
AFAttributes.Parent Property
This read-only property returns the AFAttribute that owns this collection of attributes.

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

Syntax

public AFAttribute Parent { get; }
Public ReadOnly Property Parent As AFAttribute
	Get

Dim instance As AFAttributes
Dim value As AFAttribute

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

Property Value

Type: AFAttribute
Returns the AFAttribute that is the parent of this collection of attributes. If the collection is not contained within another attribute, for example if it is in the top level collection from the AFBaseElement object, then this property will return .

Remarks

Use the Element property to get direct access to the owning element of this attribute collection, regardless of how deep the attribute collection may be within the attribute hierarchy.

Version Information

AFSDK


See Also

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