OPC Studio User's Guide and Reference
SetUInt16Identifier Method (_UAPublisherId)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.PubSub.ComTypes Namespace > _UAPublisherId Interface : SetUInt16Identifier Method
A UInt16 identifier of the publisher Id.
Sets the given UInt16 identifier into the publisher Id.
Syntax
'Declaration
 
Sub SetUInt16Identifier( _
   ByVal uint16Identifier As Integer _
) 
'Usage
 
Dim instance As _UAPublisherId
Dim uint16Identifier As Integer
 
instance.SetUInt16Identifier(uint16Identifier)
void SetUInt16Identifier( 
   int uint16Identifier
)
void SetUInt16Identifier( 
   int uint16Identifier
) 

Parameters

uint16Identifier
A UInt16 identifier of the publisher Id.
Exceptions
ExceptionDescription

The value of an argument is outside the allowable range of values as defined by the invoked method.

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

Intentionally, CLS-compliant wider input type is used.

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.

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