Share via


ICorDebugArrayValue::GetElement Method

Gets the value of the given array element.

HRESULT GetElement (
    [in]  ULONG32          cdim,
    [in, size_is(cdim), length_is(cdim)] 
         ULONG32           indices[],
    [out] ICorDebugValue   **ppValue
);

Parameters

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

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

  • indices
    [in] An array of index values, each of which specifies a position within a dimension of the ICorDebugArrayValue object.

    This value must not be null.

  • ppValue
    [out] A pointer to the address of an ICorDebugValue object that represents the value of the specified element.

Requirements

Platforms: See .NET Framework System Requirements.

Header: CorDebug.idl

Library: CorGuids.lib

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

See Also

Reference

ICorDebugArrayValue Interface