OPC Studio User's Guide and Reference
CloneIdentifier Method



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.AddressSpace Namespace > UANodeId Class : CloneIdentifier Method
The identifier part to be cloned.

The value of this parameter can be null (Nothing in Visual Basic).

Creates a clone of a give node identifier part.
Syntax
'Declaration
 
<CanBeNullAttribute()>
Public Shared Function CloneIdentifier( _
   ByVal identifier As Object _
) As Object
'Usage
 
Dim identifier As Object
Dim value As Object
 
value = UANodeId.CloneIdentifier(identifier)
[CanBeNull()]
public static object CloneIdentifier( 
   object identifier
)
[CanBeNull()]
public:
static Object^ CloneIdentifier( 
   Object^ identifier
) 

Parameters

identifier
The identifier part to be cloned.

The value of this parameter can be null (Nothing in Visual Basic).

Return Value

The cloned identifier part.

This method can return null (Nothing in Visual Basic).

Exceptions
ExceptionDescription

One of the arguments provided to a method is not valid.

This is a usage error, i.e. it will never occur (the exception will not be thrown) in a correctly written program. Your code should not catch this exception.

Remarks

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
OPC UA Node IDs
Namespace indices in OPC UA Node Ids