Reference
OpcDataTypeEncodingMaskAttribute Class
Defines the size of the mask used to encode optional field information of the custom data type represented by the Type on that this attribute is applied.
Reference
OpcDataTypeEncodingMaskAttribute Class
- Namespace
- Opc.UaFx
- Assembly
- Opc.UaFx.Advanced.dll
- Package
- Opc.UaFx.Advanced v2.59.0
- Members
- OpcDataTypeEncodingMaskAttribute Members
- Also in
- Opc.UaFx.Client
Defines the size of the mask used to encode optional field information of the custom data type represented by the Type on that this attribute is applied. The furthermore available Kind is used to determine whether the mask data is controlled by the data type or is to be determined and processed inline while reading or writing the custom data type. For more information about how an optional field is declared see OpcEncodingMaskKind.
Syntax
csharp
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct, AllowMultiple = false, Inherited = false)]
public class OpcDataTypeEncodingMaskAttribute : Attributevbnet
<AttributeUsage(AttributeTargets.Class Or AttributeTargets.Struct, AllowMultiple:=False, Inherited:=False)>
Public Class OpcDataTypeEncodingMaskAttribute
Inherits AttributeInheritance
Object → Attribute → OpcDataTypeEncodingMaskAttribute
Constructors
| Name | Description |
|---|---|
| Opc | Initializes a new instance of the Opc |
Properties
| Name | Description |
|---|---|
| Kind | Gets the Opc |
| Size | Gets or sets the number of bytes used to encode the existence of optional fields in the stream of the custom data type to that this attribute has been applied. |
| SizeInBits | Gets or sets the number of bits to use to encode the existence of optional fields in the stream of the custom data type to that this attribute has been applied. |
Methods
| Name | Description |
|---|---|
| GetEncodingMask | Retrieves the OpcEncodingMask information defined by the Opc |
Inherits members from Attribute.
Applies to
| Package | Versions |
|---|---|
| Opc. | v2. |

