MetadataBuilder.AddFieldLayout(FieldDefinitionHandle, Int32) Method
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.
Defines a field layout of a field definition.
public:
void AddFieldLayout(System::Reflection::Metadata::FieldDefinitionHandle field, int offset);
public void AddFieldLayout (System.Reflection.Metadata.FieldDefinitionHandle field, int offset);
member this.AddFieldLayout : System.Reflection.Metadata.FieldDefinitionHandle * int -> unit
Public Sub AddFieldLayout (field As FieldDefinitionHandle, offset As Integer)
Parameters
- field
- FieldDefinitionHandle
The field definition handle.
- offset
- Int32
The byte offset of the field within the declaring type instance.
Remarks
Entries must be added in the same order as the corresponding field definitions.
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.