Include Protected Members
Include Inherited Members
Provides static helper methods to use when dealing with the Visual Studio shell.
The VsShellUtilities type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
![]() ![]() |
EmptyTaskList | Empties the task list. |
![]() ![]() |
GetDebugMode | Gets the current debug mode of the shell, for example design mode, running mode, or break mode. |
![]() ![]() |
GetHierarchy | Gets the hierarchy node specified by the project GUID. |
![]() ![]() |
GetMiscellaneousProject | Overloaded. Gets the miscellaneous project from the current solution. |
![]() ![]() |
GetOutputWindowPane | Gets the output window pane specified by the GUID. |
![]() ![]() |
GetProject | Returns a project for the specified document. |
![]() ![]() |
GetRDTDocumentInfo | Gets an IVsPersistDocData interface and a document cookie from the running document table for the specified document. |
![]() ![]() |
GetRunningDocumentContents | Gets the text of the specified file, if it exists in the running document table. |
![]() ![]() |
GetTaskItems | Gets a list of tasks. |
![]() ![]() |
GetTextView | Gets the text view in the specified window frame. |
![]() ![]() |
GetUIHierarchyWindow | Gets a window for the given GUID. |
![]() ![]() |
GetWindowObject | Gets the window that exists in the specified window frame. |
![]() ![]() |
IsDocumentOpen | Determines whether or not the specified document is open. |
![]() ![]() |
IsInAutomationFunction | Determines whether or not the extensibility object is currently executing an automation operation. |
![]() ![]() |
IsSolutionBuilding | Determines whether or not the build manager is busy. |
![]() ![]() |
IsVisualStudioInDesignMode | Determines whether or not Visual Studio is in design mode (as opposed to run or debug mode). |
![]() ![]() |
LaunchDebugger | Launches the debugger. |
![]() ![]() |
OpenAsMiscellaneousFile | Opens the specified miscellaneous file in the specified editor. |
![]() ![]() |
OpenDocument | Overloaded. Opens the specified document. |
![]() ![]() |
OpenDocumentWithSpecificEditor | Overloaded. Opens a document with the specified editor. |
![]() ![]() |
PromptYesNo | Displays a message box with the specified title that prompts the user to respond yes/no to the specified message. |
![]() ![]() |
RenameDocument | Renames the specified document. |
![]() ![]() |
SaveFileIfDirty | Overloaded. Saves the specified file if it is dirty. |
![]() ![]() |
ShowMessageBox | Displays a message box with the specified message. |
Top
.gif)
.gif)