ICorDebugVariableHome::GetArgumentIndex — Metoda

Pobiera indeks argumentu funkcji.

Składnia

HRESULT GetArgumentIndex(
    [out] ULONG32* pArgumentIndex
);

Parametry

pArgumentIndex
[out] Wskaźnik do indeksu argumentów.

Wartość zwracana

Metoda zwraca następujące wartości.

Wartość Opis
S_OK Wywołanie metody zwróciło prawidłowy indeks argumentów.
E_FAIL Bieżące wystąpienie ICorDebugVariableHome reprezentuje zmienną lokalną.

Uwagi

Indeks argumentów może służyć do pobierania metadanych dla tego argumentu.

Wymagania

Platformy: Zobacz Wymagania systemowe.

Nagłówka: CorDebug.idl, CorDebug.h

Biblioteki: CorGuids.lib

wersje .NET Framework: dostępne od wersji 4.6.2

Zobacz też