Share via


ICorDebugArrayValue::GetElementAtPosition Method

Gets the element at the given position, treating the array as a zero-based, single-dimensional array.

HRESULT GetElementAtPosition (
    [in]  ULONG32          nPosition,
    [out] ICorDebugValue   **ppValue
);

Parameters

  • nPosition
    [in] The position of the element to be retrieved.

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

Remarks

The layout of a multi-dimension array follows the C++ style of array layout.

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