COR_FIELD Structure

Provides information about a field in an object.

Syntax

typedef struct COR_FIELD{
    mdFieldDef token;
    ULONG32 offset;
    COR_TYPEID id;
    CorElementType fieldType;
} COR_FIELD;

Members

Member Description
token An mdFieldDef token that can be used to get field information.
offset The offset, in bytes, to the field data in the object.
id A COR_TYPEID value that identifies the type of this field.
fieldType A CorElementType enumeration value that indicates the type of the field.

Remarks

Requirements

Platforms: See System Requirements.

Header: CorDebug.idl, CorDebug.h

Library: CorGuids.lib

.NET Framework Versions: Available since 4.5

See also