OPC Studio User's Guide and Reference
HasChildren Property (NodeElement)



OpcLabs.EasyOpcClassicCore Assembly > OpcLabs.EasyOpc Namespace > NodeElement Class : HasChildren Property
The element has children and can be used for a subsequent browse.
Syntax
'Declaration
 
Public Property HasChildren As Boolean
'Usage
 
Dim instance As NodeElement
Dim value As Boolean
 
instance.HasChildren = value
 
value = instance.HasChildren
public bool HasChildren {get; set;}
public:
property bool HasChildren {
   bool get();
   void set (    bool value);
}

Property Value

The default value of this property is False.

Remarks
In some cases this property may contain True even if there are no actual nodes below it, e.g. if it is too consuming for the OPC server to determine if an element has children.
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