Skip to content

Reference

OpcEncodingMaskKind Enum

Controls the definition and use of the 'EncodingMask' required in types with optional members.

Reference

OpcEncodingMaskKind Enum ​

since v2.8

Namespace
Opc.UaFx
Assembly
Opc.UaFx.Advanced.dll
Package
Opc.UaFx.Advanced v2.59.0
Also in
Opc.UaFx.Client

Controls the definition and use of the 'EncodingMask' required in types with optional members.

Syntax ​

csharp
public enum OpcEncodingMaskKind
vbnet
Public Enum OpcEncodingMaskKind

Inheritance ​

Object → ValueType → Enum → OpcEncodingMaskKind

Fields ​

NameValueDescription
Auto2The 'EncodingMask' is automatically constructed and evaluated using the number of optional members defined. Optional members are defined either using Nullable<T> as the type of a member or through applying the OpcDataTypeMemberSwitchAttribute attribute using the default constructor of the attribute or the OpcDataTypeMemberSwitchAttribute constructor to define the bit which is responsible for the existence of the member. In case there the default constructor OpcDataTypeMemberSwitchAttribute is used the bit an optional member refers to is determined by using the next free bit in the 'EncodingMask' which is not referenced by any other optional member.
Explicit1The 'EncodingMask' needs to be splitted into multiple members using the value type Bit. All members representing bits in the encoding mask need to be defined BEFORE any other member. Any subsequent optional members can refer to a single 'EncodingMask' member using the OpcDataTypeMemberSwitchAttribute attribute using the OpcDataTypeMemberSwitchAttribute constructor to refer to the bit represented by the 'EncodingMask' member or directly referencing the 'EncodingMask' member by its name using the OpcDataTypeMemberSwitchAttribute constructor.
Sequential0The 'EncodingMask' is manually defined as a single member. Any subsequent optional member can refer to a single bit in the 'EncodingMask' member using the OpcDataTypeMemberSwitchAttribute attribute using the OpcDataTypeMemberSwitchAttribute constructor to refer to a bit in the 'EncodingMask' member or directly referencing the 'EncodingMask' member by its name usig the OpcDataTypeMemberSwitchAttribute constructor.

Applies to ​

PackageVersions
Opc.UaFx.Advancedv2.8–v2.59