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



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.AddressSpace.ComTypes Namespace > _UANodeId Interface : SetIdentifier Method
The identifier to be set.

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

Sets the identifier value, either numeric, string, GUID, or opaque, or none.
Syntax
'Declaration
 
Sub SetIdentifier( _
   ByVal identifier As Object _
) 
'Usage
 
Dim instance As _UANodeId
Dim identifier As Object
 
instance.SetIdentifier(identifier)
void SetIdentifier( 
   object identifier
)
void SetIdentifier( 
   Object^ identifier
) 

Parameters

identifier
The identifier to be set.

The value of this parameter can be 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

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.

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