AFAttribute.Parent Property
- Last UpdatedJan 12, 2026
- 2 minute read
- PI System
- AF SDK 3.2.0
- Developer
This read-only property returns the AFAttribute that is the parent
of this attribute.
Namespace: OSIsoft.AF.Asset
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.2.0.7
Syntax
public AFAttribute Parent { get; }
Public ReadOnly Property Parent As AFAttribute Get Dim instance As AFAttribute 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 attribute. If the attribute is not contained within another attribute, for example an attribute accessed directly 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, regardless of how deep the attribute may be within the attribute hierarchy.