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
Samarbejd med os på GitHub
Kilden til dette indhold kan findes på GitHub, hvor du også kan oprette og gennemse problemer og pullanmodninger. Du kan få flere oplysninger i vores vejledning til bidragydere.