ICorProfilerInfo2::GetBoxClassLayout Method
Gets information about where the specified value type is located when it is boxed.
Syntax
HRESULT GetBoxClassLayout(
[in] ClassID classId,
[out] ULONG32 *pBufferOffset);
Parameters
classId
[in] The ID of the class that describes the value type that is boxed.
pBufferOffset
[out] An integer that is the offset, relative to the boxed object ID pointer, of the value type.
Remarks
The pBufferOffset
value is the location of the value type within a box. After pBufferOffset
is applied to a boxed object, the value type's class layout can be used to interpret the object's value.
Requirements
Platforms: See System Requirements.
Header: CorProf.idl, CorProf.h
Library: CorGuids.lib
.NET Framework Versions: Available since 2.0