QuickOPC User's Guide and Reference
ParentPosition Property (BrowseTreePosition)



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.Graphs Namespace > BrowseTreePosition Class : ParentPosition Property
Gets the parent object in the tree.
Syntax
'Declaration
 
<CanBeNullAttribute()>
<ColumnDisplayAttribute(90)>
<DefaultValueAttribute("")>
<DisplayAttribute(AutoGenerateField=False, 
   Order=1, 
   ShortName="Parent Position")>
Public ReadOnly Property ParentPosition As BrowseTreePosition
'Usage
 
Dim instance As BrowseTreePosition
Dim value As BrowseTreePosition
 
instance.ParentPosition = value
 
value = instance.ParentPosition
[CanBeNull()]
[ColumnDisplay(90)]
[DefaultValue("")]
[Display(AutoGenerateField=false, 
   Order=1, 
   ShortName="Parent Position")]
public BrowseTreePosition ParentPosition {get;}
[CanBeNull()]
[ColumnDisplay(90)]
[DefaultValue("")]
[Display(AutoGenerateField=false, 
   Order=1, 
   ShortName="Parent Position")]
public:
property BrowseTreePosition^ ParentPosition {
   BrowseTreePosition^ get();
}

Property Value

Returns parent object, or null if this object is a root of the 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