FieldOffsetAttribute(Int32) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.