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

AF SDK Reference

AFElement.IsRoot Property

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

Version Information

AFSDK


See Also

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