OPC Studio User's Guide and Reference
GetRoot Method (UANodeTreePosition)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.Graphs Namespace > UANodeTreePosition Class : GetRoot Method
Determines root of a tree to which the current tree position belongs.
Syntax
'Declaration
 
<NotNullAttribute()>
Public Function GetRoot() As UANodeTreePosition
'Usage
 
Dim instance As UANodeTreePosition
Dim value As UANodeTreePosition
 
value = instance.GetRoot()
[NotNull()]
public UANodeTreePosition GetRoot()
[NotNull()]
public:
UANodeTreePosition^ GetRoot(); 

Return Value

Returns a root position in this tree.
Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also