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