AFElement.IsRoot Property
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
This read-only property returns if the element is a member of the
AFDatabase.Elements collection.
Namespace: OSIsoft.AF.Asset
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public bool IsRoot { get; }
Public ReadOnly Property IsRoot As Boolean Get Dim instance As AFElement Dim value As Boolean value = instance.IsRoot
public: property bool IsRoot { bool get (); }
member IsRoot : bool with get
Property Value
Type: BooleanReturns if the element is a member of the AFDatabase.Elements collection.
Remarks
If this property is and the Parent property is
, then the primary parent of the element is the
Database.