AFEventFrame.IsRoot Property
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
This property indicates if the AFEventFrame is a root object owned by
the AFDatabase.
Namespace: OSIsoft.AF.EventFrame
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public bool IsRoot { get; set; }
Public Property IsRoot As Boolean Get Set Dim instance As AFEventFrame Dim value As Boolean value = instance.IsRoot instance.IsRoot = value
public: property bool IsRoot { bool get (); void set (bool value); }
member IsRoot : bool with get, set
Property Value
Type: BooleanReturns if the AFEventFrame is a root object owned by the AFDatabase.
Remarks
Setting this property to will make this a root object owned by the AFDatabase. If this property is set to , then it will no longer be a root object and will only exist as a sub-object under its other Parents objects.
By default, this property is set to if the constructor is used to create the object. If the one of the AFEventFrame.Add methods is used to create the object, then this property is set to by default.