Reference
OpcEncodingMask Members
Defines the characteristics of the 'EncodingMask' of a type with optional members.
Reference
OpcEncodingMask Members
- Type
- OpcEncodingMask
- Namespace
- Opc.UaFx
- Assembly
- Opc.UaFx.Advanced.dll
- Package
- Opc.UaFx.Advanced v2.59.0
- Also in
- Opc.UaFx.Client
Constructors
OpcEncodingMask
| Overload | Description |
|---|---|
| OpcEncodingMask( | Initializes a new instance of the OpcEncodingMask class using the kind defined while the Size of the mask is determined depending on the Opc |
| OpcEncodingMask( | Initializes a new instance of the OpcEncodingMask class using the kind and sizeInBits specified. |
OpcEncodingMask(OpcEncodingMaskKind)
Initializes a new instance of the OpcEncodingMask class using the kind defined while the Size of the mask is determined depending on the OpcEncodingMaskKind specified.
public OpcEncodingMask(OpcEncodingMaskKind kind)Public Sub New(kind As OpcEncodingMaskKind)Parameters
| Name | Type | Description |
|---|---|---|
kind | Opc | The Opc |
OpcEncodingMask(OpcEncodingMaskKind, int)
Initializes a new instance of the OpcEncodingMask class using the kind and sizeInBits specified.
public OpcEncodingMask(OpcEncodingMaskKind kind, int sizeInBits)Public Sub New(kind As OpcEncodingMaskKind, sizeInBits As Integer)Parameters
| Name | Type | Description |
|---|---|---|
kind | Opc | The Opc |
sizeInBits | Int32 | The size in bits which have to be a multiple of eight. Each bit acquired by the 'EncodingMask' can be used by an optional member to control its existence within a data stream. In case there a value less than -1 is used the SizeInBits is set to -1 which results into the same OpcEncodingMask as OpcEncodingMask would be used. |
Properties
Default
Gets the default characteristics used to encode optional members of a type using the Explicit.
public static OpcEncodingMask Default { get; }Public Shared ReadOnly Property [Default] As OpcEncodingMaskProperty value
An instance of the OpcEncodingMask class initialized with the default characteristics used to encode optional members using the Explicit.
DefaultAuto
Gets the default characteristics used to encode optional members of a type using the Auto.
public static OpcEncodingMask DefaultAuto { get; }Public Shared ReadOnly Property DefaultAuto As OpcEncodingMaskProperty value
An instance of the OpcEncodingMask class initialized with the default characteristics used to encode optional members using the Auto.
Kind
Gets a value which defines how the 'EncodingMask' of a type is used and an which way it is declared and used by the type to control the existence of its optional members.
public OpcEncodingMaskKind Kind { get; }Public ReadOnly Property Kind As OpcEncodingMaskKindProperty value
One of the members defined by the OpcEncodingMaskKind enumeration.
Size
Gets the number of bytes to use for the 'EncodingMask'. Each bit in the bytes acquired by the 'EncodingMask' can be used to control the existence of optional members within a data stream.
public int Size { get; }Public ReadOnly Property Size As IntegerProperty value
The number of bytes to use or -1 in case there the size of the 'EncodingMask' is determined depending on the Kind.
SizeInBits
Gets the number of bits to use for the 'EncodingMask'. Each bit can be used to control the existence of optional members within a data stream.
public int SizeInBits { get; }Public ReadOnly Property SizeInBits As IntegerProperty value
The number of bits to use or -1 in case there the number of bits required by the 'EncodingMask' is determined depending on the Kind.

