Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AF SDK Reference

AFEventFrame.IsRoot Property

  • Last UpdatedNov 18, 2025
  • 2 minute read
AFEventFrame.IsRoot Property
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: Boolean
Returns 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.

Version Information

AFSDK


See Also

In This Topic
TitleResults for “How to create a CRG?”Also Available in