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