OPC Studio User's Guide and Reference
ToBrowsePath Method (_UANodeId)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.AddressSpace.ComTypes Namespace > _UANodeId Interface : ToBrowsePath Method
Creates an empty browse path with this node as its starting node.
Syntax
'Declaration
 
<NotNullAttribute()>
Function ToBrowsePath() As UABrowsePath
'Usage
 
Dim instance As _UANodeId
Dim value As UABrowsePath
 
value = instance.ToBrowsePath()
[NotNull()]
UABrowsePath ToBrowsePath()
[NotNull()]
UABrowsePath^ ToBrowsePath(); 

Return Value

Because there is an implicit conversion from OpcLabs.EasyOpc.UA.Navigation.UABrowsePath to 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.Navigation.UABrowsePath in any place where the OpcLabs.EasyOpc.UA.UANodeDescriptor is expected as input, and the corresponding node descriptor will be constructed automatically.

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

Remarks

This member or type is for use from COM. It is not meant to be used from .NET or Python. Refer to the corresponding .NET member or type instead, if you are developing in .NET or Python.

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

OPC UA node Id, represented by the OpcLabs.EasyOpc.UA.AddressSpace.UANodeId class, directly identifies a node in a server's address space.

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

Reference

_UANodeId Interface
_UANodeId Members
OPC UA Node IDs
Namespace indices in OPC UA Node Ids