Reference
OpcDataTypeMemberOffsetAttribute Members
Declares a field or property of a custom data type, to that the member belongs on that this attribute is applied, with an absolute zero-based start-offset within the stream of its custom data type.
Reference
OpcDataTypeMemberOffsetAttribute Members
- Type
- OpcDataTypeMemberOffsetAttribute
- Namespace
- Opc.UaFx
- Assembly
- Opc.UaFx.Advanced.dll
- Package
- Opc.UaFx.Advanced v2.59.0
- Also in
- Opc.UaFx.Client
Inherits members from Attribute.
Constructors
OpcDataTypeMemberOffsetAttribute
Initializes a new instance of the OpcDataTypeMemberOffsetAttribute class using the offset value specified.
csharp
public OpcDataTypeMemberOffsetAttribute(int offset)vbnet
Public Sub New(offset As Integer)Parameters
| Name | Type | Description |
|---|---|---|
offset | Int32 | The position of the first byte which introduces the data of the member. |
Exceptions
| Exception | Condition |
|---|---|
| Argument | The offset is less zero. |
Properties
Offset
Gets the position of the first byte which introduces the data of the member.
csharp
public int Offset { get; }vbnet
Public ReadOnly Property Offset As IntegerProperty value
A value which is greater or equals zero which identifies the zero-based position of the start-byte which introduces the data of the member to that this attribute belongs to.

