ICorDebugProcess5::GetTypeLayout Method
Gets information about the layout of an object in memory based on its type identifier.
Syntax
HRESULT GetTypeLayout( [in] COR_TYPEID id, [out] COR_TYPE_LAYOUT *pLayout);
Parameters
id
[in] A COR_TYPEID token that specifies the type whose layout is desired.
pLayout
[out] A pointer to a COR_TYPE_LAYOUT structure that contains information about the layout of the object in memory.
Remarks
The ICorDebugProcess5::GetTypeLayout
method provides information about an object based on its COR_TYPEID, which is returned by a number of other ICorDebugProcess5 methods. The information is provided by a COR_TYPE_LAYOUT structure that is populated by the method.
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