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