IVsCommandWindow.SetMode Method (COMMANDWINDOWMODE)
Visual Studio 2015
Sets the command window to immediate mode or command mode.
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Parameters
- mode
-
Type:
Microsoft.VisualStudio.Shell.Interop.COMMANDWINDOWMODE
[in] A value of type COMMANDWINDOWMODE setting the command window to immediate or command mode.
Return Value
Type: System.Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
The mode argument must be either CWM_IMMEDIATE or CWM_COMMAND.
From vsshell.idl:
HRESULT IVsCommandWindow::SetMode(
[in] COMMANDWINDOWMODE mode
);
Show: