QuickOPC User's Guide and Reference
SetIdentifier Method (UANodeId)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.AddressSpace Namespace > UANodeId Class : SetIdentifier Method
The identifier to be set.
Sets the identifier value, either numeric, string, GUID, or opaque, or none.
Syntax
'Declaration
 
<BrowsableAttribute(False)>
<EditorBrowsableAttribute(EditorBrowsableState.Advanced)>
Public Sub SetIdentifier( _
   ByVal identifier As Object _
) 
'Usage
 
Dim instance As UANodeId
Dim identifier As Object
 
instance.SetIdentifier(identifier)
[Browsable(false)]
[EditorBrowsable(EditorBrowsableState.Advanced)]
public void SetIdentifier( 
   object identifier
)
[Browsable(false)]
[EditorBrowsable(EditorBrowsableState.Advanced)]
public:
void SetIdentifier( 
   Object^ identifier
) 

Parameters

identifier
The identifier to be set.
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.

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