AFAttributeTemplate.HasChildren Property
- Last UpdatedJan 12, 2026
- 2 minute read
- PI System
- AF SDK 3.2.0
- Developer
This read-only property returns if the attribute template has child attribute templates.
Namespace: OSIsoft.AF.Asset
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.2.0.7
Syntax
public bool HasChildren { get; }
Public ReadOnly Property HasChildren As Boolean Get Dim instance As AFAttributeTemplate Dim value As Boolean value = instance.HasChildren
public: virtual property bool HasChildren { bool get () sealed; }
abstract HasChildren : bool with get override HasChildren : bool with get
Property Value
Type: BooleanReturns if the attribute template has child attribute templates.
Implements
IAFAttributeHasChildren
Remarks
This method provides a more performant way of checking for child attribute templates of this attribute template
other than using the AFAttributeTemplates collection.