ICorDebugValue3::GetSize64 Method

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

Syntax

HRESULT GetSize64(  
    [out] ULONG64 *pSize  
);  

Parameters

pSize
[out] A pointer to the size, in bytes, of this object.

Remarks

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

The ICorDebugValue3::GetSize method differs from the ICorDebugValue::GetSize method in the type of its output parameter. In ICorDebugValue::GetSize, the output parameter is a ULONG32; in ICorDebugValue3::GetSize, it is a ULONG64. This enables the ICorDebugValue3 interface to report the size of arrays that exceed 2GB.

Requirements

Platforms: See System Requirements.

Header: CorDebug.idl, CorDebug.h

Library: CorGuids.lib

.NET Framework Versions: Available since 4.5

See also