ICorDebugArrayValue::GetDimensions Method

Gets the number of elements in each dimension of this array.

HRESULT GetDimensions (
    [in] ULONG32         cdim,
    [out, size_is(cdim), length_is(cdim)] 
        ULONG32          dims[]



[in] The number of dimensions of this ICorDebugArrayValue Interface object.

This value is also the size of the dims array because its size is equal to the number of dimensions of the ICorDebugArrayValue Interface object.


[out] An array of integers, each of which specifies the number of elements in a dimension in this ICorDebugArrayValue Interface object.

Platforms: Windows 2000, Windows XP, Windows Server 2003 family

Header: CorDebug.idl

Library: CorGuids.lib

.NET Framework Version: 2.0, 1.1, 1.0

Community Additions