ICorProfilerInfo2::GetBoxClassLayout Method
Gets information about where the specified value type is located when it is boxed.
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 .NET Framework System Requirements.
Header: CorProf.idl, CorProf.h
Library: CorGuids.lib
.NET Framework Versions: 4, 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0