AFAttributeTemplate.Parent Property
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
This read-only property returns the AFAttributeTemplate that is the parent
of this attribute template.
Namespace: OSIsoft.AF.Asset
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public AFAttributeTemplate Parent { get; }
Public ReadOnly Property Parent As AFAttributeTemplate Get Dim instance As AFAttributeTemplate Dim value As AFAttributeTemplate value = instance.Parent
public: property AFAttributeTemplate^ Parent { AFAttributeTemplate^ get (); }
member Parent : AFAttributeTemplate with get
Property Value
Type: AFAttributeTemplateReturns the AFAttributeTemplate that is the parent of this attribute template. If the attribute template is not contained within another attribute, for example an attribute accessed directly from the AFElementTemplate object, then this property will return .
Remarks
Use the ElementTemplate property to get direct access to the owning element template of this
attribute template, regardless of how deep the attribute template may be within the attribute template hierarchy.