Edit

Share via


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 .NET supported operating systems.

Header: CorHdr.h, CorProf.idl

See also