Uredi

Deli z drugimi prek


ICorDebugArrayValue::GetElementAtPosition Method

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

Syntax

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 System Requirements.

Header: CorDebug.idl, CorDebug.h

Library: CorGuids.lib

.NET Framework Versions: Available since 1.0