AFElement.IsRoot Property
- Last UpdatedJan 12, 2026
- 2 minute read
- PI System
- AF SDK 3.2.0
- 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.2.0.7
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.