'Declaration
<NotNullAttribute()> <PureAttribute()> Public Shared Function CreateUInt16( _ ByVal uint16Identifier As Integer _ ) As UAPublisherId
'Usage
Dim uint16Identifier As Integer Dim value As UAPublisherId value = UAPublisherId.CreateUInt16(uint16Identifier)
[NotNull()] [Pure()] public static UAPublisherId CreateUInt16( int uint16Identifier )
[NotNull()] [Pure()] public: static UAPublisherId^ CreateUInt16( int uint16Identifier )
Parameters
- uint16Identifier
- A UInt16 identifier of the publisher Id.
Valid values of this parameter are in the range from
1
to65535
.
Return Value
Because the UASubscribeDataSetFilter has an implicit conversion from UAPublisherId, in languages that support implicit conversion operators (such as C# or VB.NET), you can simply use the returned UAPublisherId (containing the publisher Id that you want to allow in the filter) in any place where UASubscribeDataSetFilter is expected as input, and the corresponding OPC UA subscribe dataset filter will be constructed automatically. When the implicit conversion operators are not supported (such as with Python.NET), you can use the UASubscribeDataSetFilter.FromUAPublisherId static method instead.
This method never returns null
(Nothing
in Visual Basic).