QuickOPC 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
 
<ColumnDisplayAttribute(MaximumWidth=8, RefinementRank=1)>
<DefaultValueAttribute(False)>
<DisplayAttribute(AutoGenerateField=False, 
   Order=53, 
   ShortName="Has Children")>
Public Property HasChildren As Boolean
'Usage
 
Dim instance As NodeElement
Dim value As Boolean
 
instance.HasChildren = value
 
value = instance.HasChildren
[ColumnDisplay(MaximumWidth=8, RefinementRank=1)]
[DefaultValue(false)]
[Display(AutoGenerateField=false, 
   Order=53, 
   ShortName="Has Children")]
public bool HasChildren {get; set;}
[ColumnDisplay(MaximumWidth=8, RefinementRank=1)]
[DefaultValue(false)]
[Display(AutoGenerateField=false, 
   Order=53, 
   ShortName="Has Children")]
public:
property bool HasChildren {
   bool get();
   void set (    bool value);
}
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