VsShellUtilities Methods
Assembly: Microsoft.VisualStudio.Shell.14.0 (in Microsoft.VisualStudio.Shell.14.0.dll)
| Name | Description | |
|---|---|---|
![]() ![]() | ApplyListViewThemeStyles(ListView^) | Modifies a Windows Forms ListView control to use the new Explorer style theme. |
![]() ![]() | ApplyTreeViewThemeStyles(TreeView^) | Modifies a Windows Forms TreeView control to use the new Explorer style theme. Hot tracking is enabled by default. |
![]() ![]() | ApplyTreeViewThemeStyles(TreeView^, Boolean) | Modifies a Windows Forms TreeView control to use the new Explorer style theme. |
![]() ![]() | EmptyTaskList(IServiceProvider^) | Empties the task list. |
![]() ![]() | GetCfgProvider(IVsHierarchy^) | Gets the configuration provider object for a given project. |
![]() ![]() | GetDebugMode(IServiceProvider^) | Gets the current debug mode of the shell, for example, design mode, running mode, or break mode. |
![]() ![]() | GetEnvironmentFont(IServiceProvider^) | Retrieve the host's environment font as a Font. |
![]() ![]() | GetErrorListItems(IServiceProvider^) | Gets the items in the error list. |
![]() ![]() | GetHierarchy(IServiceProvider^, Guid) | 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(IServiceProvider^, Guid) | Gets the output window pane that is specified by the GUID. |
![]() ![]() | GetPackageExtensionPoint<TExtensionPoint, TInterface>(Guid, Guid) | Creates an instance of an extension point from the given package. This is analagous to finding an "Export" of a given type (T) with instance metadata given by the GUID of the instance. |
![]() ![]() | GetProject(IServiceProvider^, String^) | Returns a project for the specified document. |
![]() ![]() | GetProvisionalViewingStatus(IVsHierarchy^, UInt32) | |
![]() ![]() | GetProvisionalViewingStatus(String^) | |
![]() ![]() | GetRDTDocumentInfo(IServiceProvider^, String^, IVsHierarchy^, UInt32, IVsPersistDocData^, UInt32) | Gets an IVsPersistDocData interface and a document cookie from the running document table for the specified document. |
![]() ![]() | GetRunningDocumentContents(IServiceProvider^, String^) | Gets the text of the specified file, if it exists in the running document table. |
![]() ![]() | GetTaskItems(IServiceProvider^) | Obsolete.Gets a list of tasks. |
![]() ![]() | GetTaskItems2(IServiceProvider^) | Obsolete.Gets a list of all task items. |
![]() ![]() | GetTaskItems3(IServiceProvider^) | Gets a list of all tasks items. |
![]() ![]() | GetTextView(IVsWindowFrame^) | Gets the text view in the specified window frame. |
![]() ![]() | GetUIHierarchyWindow(IServiceProvider^, Guid) | Gets a window for the given GUID. |
![]() ![]() | GetWindowObject(IVsWindowFrame^) | Gets the window that exists in the specified window frame. |
![]() ![]() | IsDocumentOpen(IServiceProvider^, String^, Guid, IVsUIHierarchy^, UInt32, IVsWindowFrame^) | Determines whether the specified document is open. |
![]() ![]() | IsInAutomationFunction(IServiceProvider^) | Determines whether the extensibility object is currently executing an automation operation. |
![]() ![]() | IsSolutionBuilding(IServiceProvider^) | Determines whether the build manager is busy. |
![]() ![]() | IsVisualStudioInDesignMode(IServiceProvider^) | Determines whether Visual Studio is in design mode (as opposed to run mode or debug mode). |
![]() ![]() | LaunchDebugger(IServiceProvider^, VsDebugTargetInfo) | Starts the debugger. |
![]() ![]() | LogError(String^, String^) | Logs the error. |
![]() ![]() | LogMessage(String^, String^, __ACTIVITYLOG_ENTRYTYPE) | Logs the message. |
![]() ![]() | LogWarning(String^, String^) | Logs a warning. |
![]() ![]() | LookupPackageString(Guid, String^) | Finds the package string |
![]() ![]() | OpenAsMiscellaneousFile(IServiceProvider^, String^, String^, Guid, String^, Guid) | Opens the specified miscellaneous file in the specified editor. |
![]() ![]() | OpenBrowser(String^) | Open the user's default browser on the given URL. The default browser is set in the Browse With UI. The internal browser is not used if the shell is in a modal state. |
![]() ![]() | OpenBrowser(String^, UInt32) | Open the user's default browser on the given URL. The default browser is set in the Browse With UI. The internal browser is not used if the shell is in a modal state. |
![]() ![]() | 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. |
![]() ![]() | OpenSystemBrowser(String^) | Open the system default browser on the given URL. |
![]() ![]() | PromptYesNo(String^, String^, OLEMSGICON, IVsUIShell^) | Displays a message box that contains the specified title and prompts the user to respond (yes or no) to the specified message. |
![]() ![]() | RenameDocument(IServiceProvider^, String^, String^) | Renames the specified document. |
![]() ![]() | SaveFileIfDirty(IServiceProvider^, String^) | Saves the specified file if it is dirty. |
![]() ![]() | SaveFileIfDirty(IVsTextView^) | If the file is dirty, saves it in the specified text view. |
![]() ![]() | SetOleCmdText(IntPtr, String^) | Sets the actual text in an OLECMDTEXT marshaled structure. Used in typical command routing code (implementations of IOleCommandTarget) |
![]() ![]() | ShowMessageBox(IServiceProvider^, String^, String^, OLEMSGICON, OLEMSGBUTTON, OLEMSGDEFBUTTON) | Displays a message box with the specified message. |
![]() ![]() | TryGetPackageExtensionPoint<TExtensionPoint, TInterface>(Guid, Guid) | Creates an instance of an extension point from the given package. This is analagous to finding an "Export" of a given type (T) with the instance metadata given by the "instance" Guid. |
![]() ![]() | TryOpenDocument(IServiceProvider^, String^, Guid, IVsUIHierarchy^, UInt32, IVsWindowFrame^) | Tries to open a document using the appropriate project. |

