OPC Studio User's Guide and Reference
ToUANodeDescriptor Method (UABrowsePath)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.Navigation Namespace > UABrowsePath Class : ToUANodeDescriptor Method
Converts a browse path to a OpcLabs.EasyOpc.UA.UANodeDescriptor.
Syntax
'Declaration
 
Public Function ToUANodeDescriptor() As UANodeDescriptor
'Usage
 
Dim instance As UABrowsePath
Dim value As UANodeDescriptor
 
value = instance.ToUANodeDescriptor()
public UANodeDescriptor ToUANodeDescriptor()
public:
UANodeDescriptor^ ToUANodeDescriptor(); 

Return Value

Returns a node descriptor that can be used to refer to a node in the OPC server.

Because there are implicit conversions to UANamedNodeDescriptor and UANamedNodePath from OpcLabs.EasyOpc.UA.UANodeDescriptor, in languages that support implicit conversion operators (such as C# or VB.NET), you can simply use the returned OpcLabs.EasyOpc.UA.UANodeDescriptor in any place where UANamedNodeDescriptor is expected (in this case the OpcLabs.EasyOpc.UA.UANodeDescriptor contains the final node descriptor) or where UANamedNodePath is expected (in this case the OpcLabs.EasyOpc.UA.UANodeDescriptor contains the base and only node in the named node path), and the corresponding OPC UA named node descriptor or named node path will be constructed automatically. When the implicit conversion operators are not supported (such as with Python.NET), you can use the UANamedNodeDescriptor.FromUANodeDescriptor or UANamedNodePath.FromUANodeDescriptor static method instead.

This method never returns null (Nothing in Visual Basic).

Remarks

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