ICorDebugVariableHome::GetSlotIndex Method
Gets the managed slot-index of a local variable.
Syntax
HRESULT GetSlotIndex(
[out] ULONG32 *pSlotIndex
);
Parameters
pSlotIndex
[out] A pointer to the slot-index of a local variable.
Return Value
The method returns the following values.
Value | Description |
---|---|
S_OK |
The method call returned a slot-index value in pSlotIndex . |
E_FAIL |
The current ICorDebugVariableHome instance represents a function argument. |
Remarks
The slot-index can be used to retrieve the metadata for this local variable.
Requirements
Platforms: See System Requirements.
Header: CorDebug.idl, CorDebug.h
Library: CorGuids.lib
.NET Framework Versions: Available since 4.6.2
See also
Surađujte s nama na GitHubu
Izvor za ovaj sadržaj možete pronaći na GitHubu, gdje možete stvarati i pregledavati probleme i zahtjeve za povlačenjem. Dodatne informacije potražite u našem vodiču za suradnike.
Povratne informacije
https://aka.ms/ContentUserFeedback.
Stiže uskoro: Tijekom 2024. postupno ćemo ukinuti servis Problemi sa servisom GitHub kao mehanizam za povratne informacije za sadržaj i zamijeniti ga novim sustavom za povratne informacije. Dodatne informacije potražite u članku:Pošaljite i pogledajte povratne informacije za