IVsCommandWindow Interface

Enables the package to use the Command Window. You can get an instance of the interface from the SVsCommandWindow (SID_SVsCommandWindow) service.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

public interface IVsCommandWindow

The IVsCommandWindow type exposes the following members.

Public methodCreateCreates the tool window and the text buffer for the Command Window.
Public methodEchoCommandEchoes the specified command to the command window the next time text is printed in the command window using the Print method.
Public methodExecuteCommandExecutes the specified command.
Public methodLogToFileStarts logging command-window commands and output to the specified file.
Public methodPrepareCommandPerforms all the steps to prepare to execute a command-line command.
Public methodPrintPrints the specified text to the command window. The command window will be shown if it is not already visible.
Public methodPrintNoShowDoes the same thing as Print but does not show or activate the command window.
Public methodRunningCommandWindowCommandIndicates whether or not a command invoked through the command window is currently executing.
Public methodSetCurrentLanguageServiceSets the language service for the Command Window to use in the current debugging context.
Public methodSetModeSets the command window to immediate mode or command mode.
Public methodShowMakes the Command Window visible and gives it the focus. Also creates the window, if necessary.
Public methodStopLoggingStops the logging started with LogToFile.

You can set the mode of the Command Window with the IVsCommandWindow2 interface.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft