OPC Studio User's Guide and Reference
StartingNodeDescriptor Property (UABrowsePath)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.Navigation Namespace > UABrowsePath Class : StartingNodeDescriptor Property
The starting node descriptor of the browse path.
Syntax
'Declaration
 
<DefaultValueAttribute("")>
Public Property StartingNodeDescriptor As UANodeDescriptor
'Usage
 
Dim instance As UABrowsePath
Dim value As UANodeDescriptor
 
instance.StartingNodeDescriptor = value
 
value = instance.StartingNodeDescriptor
[DefaultValue("")]
public UANodeDescriptor StartingNodeDescriptor {get; set;}
[DefaultValue("")]
public:
property UANodeDescriptor^ StartingNodeDescriptor {
   UANodeDescriptor^ get();
   void set (    UANodeDescriptor^ value);
}
Remarks

For most usages, it would be sufficient to determine the starting node by the StartingNodeId. The OpcLabs.EasyOpc.UA.UANodeDescriptor and its ability to use yet another browse path in determining the starting node of the browse path is, however, necessary for features required from object aliasing, namely the ability to "nest" the aliases that provide the "root" for OPC UA mapping.

As opposed to many other places, here the absence of a starting node is indicated by a null reference, and not a OpcLabs.EasyOpc.UA.UANodeDescriptor.Null value. This is necessary in order to avoid a reference cycle with a Null browse path.

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