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
Sodelujte z nami v storitvi GitHub
Vir za to vsebino najdete v storitvi GitHub, kjer lahko tudi ustvarite in pregledate težave in zahtevke za uveljavitev sprememb. Če želite več informacij, glejte naš vodnik za sodelavce.
Povratne informacije
https://aka.ms/ContentUserFeedback.
Kmalu na voljo: V letu 2024 bomo ukinili storitev Težave v storitvi GitHub kot mehanizem za povratne informacije za vsebino in jo zamenjali z novim sistemom za povratne informacije. Za več informacij si oglejte:Pošlji in prikaži povratne informacije za