Metoda IVsDebuggerEvents.OnModeChange — (DBGMODE)
Określa funkcję wywoływane, gdy zmienia tryb debugowania.
Przestrzeń nazw: Microsoft.VisualStudio.Shell.Interop
Zestaw: Microsoft.VisualStudio.Shell.Interop (w Microsoft.VisualStudio.Shell.Interop.dll)
Składnia
int OnModeChange(
DBGMODE dbgmodeNew
)
int OnModeChange(
DBGMODE dbgmodeNew
)
abstract OnModeChange :
dbgmodeNew:DBGMODE -> int
Function OnModeChange (
dbgmodeNew As DBGMODE
) As Integer
Parametry
dbgmodeNew
Type: Microsoft.VisualStudio.Shell.Interop.DBGMODE[in] Wartość z zakresu od DBGMODE wyliczenia wskazująca nowy tryb debugera.
Wartość zwracana
Type: System.Int32
Jeśli metoda zakończy się pomyślnie, zwraca S_OK. Jeśli nie, zwraca kod błędu.
Uwagi
Podpis COM
Z vsshell.idl:
HRESULT IVsDebuggerEvents::OnModeChange(
[in] DBGMODE dbgmodeNew
);
Zobacz też
Interfejs IVsDebuggerEvents
Przestrzeń nazw Microsoft.VisualStudio.Shell.Interop
Powrót do początku