Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Include Protected Members
Include Inherited Members
Provides static helper methods to use with the Visual Studio shell.
The VsShellUtilities type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
![]() ![]() |
ApplyListViewThemeStyles | |
![]() ![]() |
ApplyTreeViewThemeStyles(TreeView) | |
![]() ![]() |
ApplyTreeViewThemeStyles(TreeView, Boolean) | |
![]() ![]() |
EmptyTaskList | Empties the task list. |
![]() ![]() |
GetDebugMode | Gets the current debug mode of the shell, for example, design mode, running mode, or break mode. |
![]() ![]() |
GetEnvironmentFont | |
![]() ![]() |
GetHierarchy | Gets the hierarchy node that is specified by the project GUID. |
![]() ![]() |
GetMiscellaneousProject(IServiceProvider) | Gets the miscellaneous project from the current solution. |
![]() ![]() |
GetMiscellaneousProject(IServiceProvider, Boolean) | Returns the miscellaneous project in a solution. |
![]() ![]() |
GetOutputWindowPane | Gets the output window pane that is 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. |
![]() ![]() |
GetTaskItems2 | |
![]() ![]() |
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 the specified document is open. |
![]() ![]() |
IsInAutomationFunction | Determines whether the extensibility object is currently executing an automation operation. |
![]() ![]() |
IsSolutionBuilding | Determines whether the build manager is busy. |
![]() ![]() |
IsVisualStudioInDesignMode | Determines whether Visual Studio is in design mode (as opposed to run mode or debug mode). |
![]() ![]() |
LaunchDebugger | Starts the debugger. |
![]() ![]() |
OpenAsMiscellaneousFile | Opens the specified miscellaneous file in the specified editor. |
![]() ![]() |
OpenDocument(IServiceProvider, String) | Opens the specified document. |
![]() ![]() |
OpenDocument(IServiceProvider, String, Guid, IVsUIHierarchy%, UInt32%, IVsWindowFrame%) | Opens the specified document in the specified view. |
![]() ![]() |
OpenDocument(IServiceProvider, String, Guid, IVsUIHierarchy%, UInt32%, IVsWindowFrame%, IVsTextView%) | Opens the specified document in the specified logical view. |
![]() ![]() |
OpenDocumentWithSpecificEditor(IServiceProvider, String, Guid, Guid) | Opens the specified document by using the specified editor. |
![]() ![]() |
OpenDocumentWithSpecificEditor(IServiceProvider, String, Guid, Guid, IVsUIHierarchy%, UInt32%, IVsWindowFrame%) | Opens the specified document by using the specified editor. |
![]() ![]() |
PromptYesNo | Displays a message box that contains the specified title and prompts the user to respond (yes or no) to the specified message. |
![]() ![]() |
RenameDocument | Renames the specified document. |
![]() ![]() |
SaveFileIfDirty(IVsTextView) | If the file is dirty, saves it in the specified text view. |
![]() ![]() |
SaveFileIfDirty(IServiceProvider, String) | Saves the specified file if it is dirty. |
![]() ![]() |
ShowMessageBox | Displays a message box with the specified message. |
Top
.gif)
.gif)