次の方法で共有


IVsCommandWindow Members

Include Protected Members
Include Inherited Members

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

The IVsCommandWindow type exposes the following members.

Methods

  Name Description
Public method Create Creates the tool window and the text buffer for the CommandWindow.
Public method EchoCommand Echoes the specified command to the command window the next time text is printed in the command window using the Print method.
Public method ExecuteCommand Executes the specified command.
Public method LogToFile Starts logging command-window commands and output to the specified file.
Public method PrepareCommand Performs all the steps to prepare to execute a command-line command.
Public method Print Prints the specified text to the command window. The command window will be shown if it is not already visible.
Public method PrintNoShow Does the same thing as Print but does not show or activate the command window.
Public method RunningCommandWindowCommand Indicates whether or not a command invoked through the command window is currently executing.
Public method SetCurrentLanguageService Sets the language service for the Command Window to use in the current debugging context.
Public method SetMode Sets the command window to immediate mode or command mode.
Public method Show Makes the Command Window visible and gives it the focus. Also creates the window, if necessary.
Public method StopLogging Stops the logging started with LogToFile.

Top

See Also

Reference

IVsCommandWindow Interface

Microsoft.VisualStudio.Shell.Interop Namespace