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 Interface 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: Windows 2000, Windows XP, Windows Server 2003 family

Header: CorDebug.idl

Library: CorGuids.lib

.NET Framework Version: 2.0, 1.1, 1.0

See Also

Reference

ICorDebugArrayValue Interface