IVsCommandWindow2::SetMode Method (UInt32)
Visual Studio 2015
Sets the mode of the Command Window tool window. Implemented by the environment.
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
Parameters
- mode
-
Type:
System::UInt32
[in] A value of type COMMANDWINDOWMODE indicating whether the command window should be set 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 two values allowed for mode are:CWM_IMMEDIATE for immediate mode or CWM_COMMAND for command mode.
From vsshell.idl:
HRESULT IVsCommandWindow2::SetMode(
[in] COMMANDWINDOWMODE2 mode
);
Show: