Share via


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: Windows 2000, Windows XP, Windows Server 2003 family

Header: CorHdr.h, CorProf.idl

.NET Framework Version: 2.0, 1.1, 1.0

See Also

Concepts

Metadata Structures

IMetaDataEmit Interface

IMetaDataImport Interface