Share via


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[]
);

Parameters

  • cdim
    [in] The number of dimensions of this ICorDebugArrayValue object.

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

  • dims
    [out] An array of integers, each of which specifies the number of elements in a dimension in this ICorDebugArrayValue 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

ICorDebugArrayValue Interface