Connectivity Software User's Guide and Reference
OpaqueIdentifier Property (_UANodeId)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.AddressSpace.ComTypes Namespace > _UANodeId Interface : OpaqueIdentifier Property
Opaque identifier value (in namespace specific format).
Syntax
'Declaration
 
<JetBrains.Annotations.ItemNotNullAttribute()>
<JetBrains.Annotations.NotNullAttribute()>
Property OpaqueIdentifier As Object()
'Usage
 
Dim instance As _UANodeId
Dim value() As Object
 
instance.OpaqueIdentifier = value
 
value = instance.OpaqueIdentifier
[JetBrains.Annotations.ItemNotNull()]
[JetBrains.Annotations.NotNull()]
object[] OpaqueIdentifier {get; set;}
[JetBrains.Annotations.ItemNotNull()]
[JetBrains.Annotations.NotNull()]
property array<Object^>^ OpaqueIdentifier {
   array<Object^>^ get();
   void set (    array<Object^>^ value);
}

Property Value

An array of bytes representing the opaque identifier of the node. This identifier is unique within the namespace.

The value of this property cannot be null (Nothing in Visual Basic).

The individual elements of the property value cannot be null (Nothing in Visual Basic).

Exceptions
ExceptionDescription

A null reference (Nothing in Visual Basic) is passed to a method that does not accept it as a valid argument.

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.

The format of an argument is invalid, or a composite format string is not well-formed.

An invalid casting or explicit conversion has been attempted.

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.

An arithmetic, casting, or conversion operation in a checked context resulted in an overflow.
Remarks

Opaque identifiers are used in situations where the identifier does not fit the standard numeric, string, or GUID formats. They are typically used for binary data that is unique to the namespace of the node.

The length of the opaque identifier is restricted to 4096 bytes to ensure efficient transmission and processing.

This member is not compatible with Visual Basic 6.0 (VB6).

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.

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