ICorDebugProcess5::GetTypeFields Method
Provides information about the fields that belong to a type.
Syntax
HRESULT GetTypeFields(
[in] COR_TYPEID id,
[in] ULONG32 celt,
[out] COR_FIELD fields[],
[out] ULONG32 *pceltNeeded
);
Parameters
id
[in] The identifier of the type whose field information is retrieved.
celt
[in] The number of COR_FIELD objects whose field information is to be retrieved.
fields
[out] An array of COR_FIELD objects that provide information about the fields that belong to the type.
pceltNeeded
[out] A pointer to the number of COR_FIELD objects included in fields
.
Remarks
The celt
parameter, which specifies the number of fields whose field information the method uses to populate fields
, should correspond to the value of the COR_TYPE_LAYOUT::numFields
field.
Requirements
Platforms: See System Requirements.
Header: CorDebug.idl, CorDebug.h
Library: CorGuids.lib
.NET Framework Versions: Available since 4.5
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for