OPC Studio User's Guide and Reference
ParentNode Property (Node)



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.NodeSpace Namespace > Node Class : ParentNode Property
The node that is the parent of this node.
Syntax
'Declaration
 
<BrowsableAttribute(False)>
<CanBeNullAttribute()>
<IgnoreDataMemberAttribute()>
Public ReadOnly Property ParentNode As Node
'Usage
 
Dim instance As Node
Dim value As Node
 
instance.ParentNode = value
 
value = instance.ParentNode
[Browsable(false)]
[CanBeNull()]
[IgnoreDataMember()]
public Node ParentNode {get;}
[Browsable(false)]
[CanBeNull()]
[IgnoreDataMember()]
public:
property Node^ ParentNode {
   Node^ get();
}

Property Value

This value of this property can be null (Nothing in Visual Basic).

Remarks

This property is null when this node has no parent.

This method or property does not throw any exceptions, aside from execution exceptions such as System.Threading.ThreadAbortException or System.OutOfMemoryException.

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