Dela via


ICorDebugArrayValue::GetElementAtPosition-metod

Hämtar elementet vid den angivna positionen och behandlar matrisen som en nollbaserad, endimensionell matris.

Syntax

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

Parametrar

nPosition [i] Positionen för det element som ska hämtas.

ppValue [ut] En pekare till adressen till ett ICorDebugValue-objekt som representerar elementets värde.

Kommentarer

Layouten för en matris med flera dimensioner följer matrislayoutens C++-format.

Krav

Plattformar: Se Systemkrav.

Rubrik: CorDebug.idl, CorDebug.h

Bibliotek: CorGuids.lib

.NET Framework-versioner: Finns sedan 1.0