OPC Studio User's Guide and Reference
ToString Method (UANodeId)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.AddressSpace Namespace > UANodeId Class : ToString Method
Returns a string that represents the current node Id.
Syntax
'Declaration
 
<NotNullAttribute()>
Public Overrides NotOverridable Function ToString() As String
'Usage
 
Dim instance As UANodeId
Dim value As String
 
value = instance.ToString()
[NotNull()]
public override string ToString()
[NotNull()]
public:
String^ ToString(); override 

Return Value

Returns the expanded text of the node Id.

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

This method can return 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.

OPC UA node Id, represented by the 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 Class
UANodeId Members
Base Implementation in ToString
OPC UA Node IDs
Namespace indices in OPC UA Node Ids