Constructs and initializes a new instance of the System.Runtime.InteropServices.FieldOffsetAttribute class with the specified field offset in the class or structure.
- offset
- A int that specifies the offset in bytes from the beginning of the structure to the beginning of the field.
If offset is negative, its value is interpreted as an unsigned long value, and the system behavior is implementation-defined.
The FieldOffsetAttribute.Value property of the new instance is initialized to offset .
Namespace: System.Runtime.InteropServices
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0