OPC Studio User's Guide and Reference
IsValidIdentifier Method



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.AddressSpace Namespace > UANodeId Class : IsValidIdentifier Method
The identifier object to be tested.
Determines whether the given identifier is valid.
Syntax
'Declaration
 
<ContractAnnotationAttribute("null => true")>
<PureAttribute()>
Public Shared Function IsValidIdentifier( _
   ByVal identifier As Object _
) As Boolean
'Usage
 
Dim identifier As Object
Dim value As Boolean
 
value = UANodeId.IsValidIdentifier(identifier)
[ContractAnnotation("null => true")]
[Pure()]
public static bool IsValidIdentifier( 
   object identifier
)
[ContractAnnotation("null => true")]
[Pure()]
public:
static bool IsValidIdentifier( 
   Object^ identifier
) 

Parameters

identifier
The identifier object to be tested.

Return Value

Returns true if the identifier is valid; otherwise, returns false.
Remarks
A null reference is considered a valid identifier.

This method or property does not throw any exceptions, aside from execution exceptions such as System.Threading.ThreadAbortException or System.OutOfMemoryException.

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