OPC Studio User's Guide and Reference
GetIdentifierString Method



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.AddressSpace Namespace > UANodeId Class : GetIdentifierString Method
The identifier for which the identifier string should be obtained.
Gets the identifier string for a given identifier.
Syntax
'Declaration
 
<NotNullAttribute()>
Public Shared Function GetIdentifierString( _
   ByVal identifier As Object _
) As String
'Usage
 
Dim identifier As Object
Dim value As String
 
value = UANodeId.GetIdentifierString(identifier)
[NotNull()]
public static string GetIdentifierString( 
   object identifier
)
[NotNull()]
public:
static String^ GetIdentifierString( 
   Object^ identifier
) 

Parameters

identifier
The identifier for which the identifier string should be obtained.

Return Value

Returns an empty string if the identifieris a null reference. Otherwise, return a string that consists of a key that determines the identifier type, and equal sign, and a string representation of the identifier value.
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