OPC Studio User's Guide and Reference
Level Property (BrowseTreePosition)



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.Graphs Namespace > BrowseTreePosition Class : Level Property
Determines the level of this object inside a tree.
Syntax
'Declaration
 
<ColumnDisplayAttribute(90)>
<DefaultValueAttribute(0)>
<DisplayAttribute(AutoGenerateField=False, 
   Order=201, 
   ShortName="Level")>
Public ReadOnly Property Level As Integer
'Usage
 
Dim instance As BrowseTreePosition
Dim value As Integer
 
value = instance.Level
[ColumnDisplay(90)]
[DefaultValue(0)]
[Display(AutoGenerateField=false, 
   Order=201, 
   ShortName="Level")]
public int Level {get;}
[ColumnDisplay(90)]
[DefaultValue(0)]
[Display(AutoGenerateField=false, 
   Order=201, 
   ShortName="Level")]
public:
property int Level {
   int get();
}

Property Value

Level of the object.
Remarks
The root has a level of 0.
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