FieldOffsetAttribute(Int32) Constructor

Definition

Initializes a new instance of the FieldOffsetAttribute class with the offset in the structure to the beginning of the field.

public:
 FieldOffsetAttribute(int offset);
public FieldOffsetAttribute (int offset);
new System.Runtime.InteropServices.FieldOffsetAttribute : int -> System.Runtime.InteropServices.FieldOffsetAttribute
Public Sub New (offset As Integer)

Parameters

offset
Int32

The offset in bytes from the beginning of the structure to the beginning of the field.

Applies to