COR_FIELD_OFFSET Structure
Stores the offset, within a class, of the specified field.
typedef struct COR_FIELD_OFFSET {
mdFieldDef ridOfField;
ULONG ulOffset;
} COR_FIELD_OFFSET;
Members
Member |
Description |
---|---|
ridOfField |
An mdFieldDef metadata token that represents the field. |
ulOffset |
The field's offset within its class. |
Remarks
IMetaDataImport::GetClassLayout and IMetaDataEmit::SetClassLayout methods take a parameter of type COR_FIELD_OFFSET.
Requirements
Platforms: See .NET Framework System Requirements.
Header: CorHdr.h, CorProf.idl
.NET Framework Versions: 4, 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0, 1.1, 1.0