ICorDebugValue::GetSize Method

Gets the size, in bytes, of this ICorDebugValue object.

HRESULT GetSize (
    [out] ULONG32   *pSize
);

Parameters

  • pSize
    [out] The size, in bytes, of this value object.

Remarks

If the value's type is a reference type, this method returns the size of the pointer rather than the size of the object.

Requirements

Platforms: See .NET Framework System Requirements.

Header: CorDebug.idl, CorDebug.h

Library: CorGuids.lib

.NET Framework Versions: 4, 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0, 1.1, 1.0

See Also

Reference

ICorDebugValue Interface