Compartilhar via


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: Windows 2000, Windows XP, Windows Server 2003 family

Header: CorProf.idl

Library: CorGuids.lib

.NET Framework Version: 2.0

See Also

Concepts

ICorProfilerInfo Interface

ICorProfilerInfo2 Interface