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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.