COR_FIELD_OFFSET Structure
Stores the offset, within a class, of the specified field.
Syntax
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 System Requirements.
Header: CorHdr.h, CorProf.idl
.NET Framework Versions: Available since 1.0
See also
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.