Muokkaa

Jaa


MetadataBuilder.AddFieldLayout(FieldDefinitionHandle, Int32) Method

Definition

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