VsShellUtilities Methods

 

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

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticApplyListViewThemeStyles(ListView^)

Modifies a Windows Forms ListView control to use the new Explorer style theme.

System_CAPS_pubmethodSystem_CAPS_staticApplyTreeViewThemeStyles(TreeView^)

Modifies a Windows Forms TreeView control to use the new Explorer style theme. Hot tracking is enabled by default.

System_CAPS_pubmethodSystem_CAPS_staticApplyTreeViewThemeStyles(TreeView^, Boolean)

Modifies a Windows Forms TreeView control to use the new Explorer style theme.

System_CAPS_pubmethodSystem_CAPS_staticEmptyTaskList(IServiceProvider^)

Empties the task list.

System_CAPS_pubmethodSystem_CAPS_staticGetCfgProvider(IVsHierarchy^)

Gets the configuration provider object for a given project.

System_CAPS_pubmethodSystem_CAPS_staticGetDebugMode(IServiceProvider^)

Gets the current debug mode of the shell, for example, design mode, running mode, or break mode.

System_CAPS_pubmethodSystem_CAPS_staticGetEnvironmentFont(IServiceProvider^)

Retrieve the host's environment font as a Font.

System_CAPS_pubmethodSystem_CAPS_staticGetErrorListItems(IServiceProvider^)

Gets the items in the error list.

System_CAPS_pubmethodSystem_CAPS_staticGetHierarchy(IServiceProvider^, Guid)

Gets the hierarchy node that is specified by the project GUID.

System_CAPS_pubmethodSystem_CAPS_staticGetMiscellaneousProject(IServiceProvider^)

Gets the miscellaneous project from the current solution.

System_CAPS_pubmethodSystem_CAPS_staticGetMiscellaneousProject(IServiceProvider^, Boolean)

Returns the miscellaneous project in a solution.

System_CAPS_pubmethodSystem_CAPS_staticGetOutputWindowPane(IServiceProvider^, Guid)

Gets the output window pane that is specified by the GUID.

System_CAPS_pubmethodSystem_CAPS_staticGetPackageExtensionPoint<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.

System_CAPS_pubmethodSystem_CAPS_staticGetProject(IServiceProvider^, String^)

Returns a project for the specified document.

System_CAPS_pubmethodSystem_CAPS_staticGetProvisionalViewingStatus(IVsHierarchy^, UInt32)

System_CAPS_pubmethodSystem_CAPS_staticGetProvisionalViewingStatus(String^)

System_CAPS_pubmethodSystem_CAPS_staticGetRDTDocumentInfo(IServiceProvider^, String^, IVsHierarchy^, UInt32, IVsPersistDocData^, UInt32)

Gets an IVsPersistDocData interface and a document cookie from the running document table for the specified document.

System_CAPS_pubmethodSystem_CAPS_staticGetRunningDocumentContents(IServiceProvider^, String^)

Gets the text of the specified file, if it exists in the running document table.

System_CAPS_pubmethodSystem_CAPS_staticGetTaskItems(IServiceProvider^)

Obsolete.Gets a list of tasks.

System_CAPS_pubmethodSystem_CAPS_staticGetTaskItems2(IServiceProvider^)

Obsolete.Gets a list of all task items.

System_CAPS_pubmethodSystem_CAPS_staticGetTaskItems3(IServiceProvider^)

Gets a list of all tasks items.

System_CAPS_pubmethodSystem_CAPS_staticGetTextView(IVsWindowFrame^)

Gets the text view in the specified window frame.

System_CAPS_pubmethodSystem_CAPS_staticGetUIHierarchyWindow(IServiceProvider^, Guid)

Gets a window for the given GUID.

System_CAPS_pubmethodSystem_CAPS_staticGetWindowObject(IVsWindowFrame^)

Gets the window that exists in the specified window frame.

System_CAPS_pubmethodSystem_CAPS_staticIsDocumentOpen(IServiceProvider^, String^, Guid, IVsUIHierarchy^, UInt32, IVsWindowFrame^)

Determines whether the specified document is open.

System_CAPS_pubmethodSystem_CAPS_staticIsInAutomationFunction(IServiceProvider^)

Determines whether the extensibility object is currently executing an automation operation.

System_CAPS_pubmethodSystem_CAPS_staticIsSolutionBuilding(IServiceProvider^)

Determines whether the build manager is busy.

System_CAPS_pubmethodSystem_CAPS_staticIsVisualStudioInDesignMode(IServiceProvider^)

Determines whether Visual Studio is in design mode (as opposed to run mode or debug mode).

System_CAPS_pubmethodSystem_CAPS_staticLaunchDebugger(IServiceProvider^, VsDebugTargetInfo)

Starts the debugger.

System_CAPS_pubmethodSystem_CAPS_staticLogError(String^, String^)

Logs the error.

System_CAPS_pubmethodSystem_CAPS_staticLogMessage(String^, String^, __ACTIVITYLOG_ENTRYTYPE)

Logs the message.

System_CAPS_pubmethodSystem_CAPS_staticLogWarning(String^, String^)

Logs a warning.

System_CAPS_pubmethodSystem_CAPS_staticLookupPackageString(Guid, String^)

Finds the package string

System_CAPS_pubmethodSystem_CAPS_staticOpenAsMiscellaneousFile(IServiceProvider^, String^, String^, Guid, String^, Guid)

Opens the specified miscellaneous file in the specified editor.

System_CAPS_pubmethodSystem_CAPS_staticOpenBrowser(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.

System_CAPS_pubmethodSystem_CAPS_staticOpenBrowser(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.

System_CAPS_pubmethodSystem_CAPS_staticOpenDocument(IServiceProvider^, String^)

Opens the specified document.

System_CAPS_pubmethodSystem_CAPS_staticOpenDocument(IServiceProvider^, String^, Guid, IVsUIHierarchy^, UInt32, IVsWindowFrame^)

Opens the specified document in the specified view.

System_CAPS_pubmethodSystem_CAPS_staticOpenDocument(IServiceProvider^, String^, Guid, IVsUIHierarchy^, UInt32, IVsWindowFrame^, IVsTextView^)

Opens the specified document in the specified logical view.

System_CAPS_pubmethodSystem_CAPS_staticOpenDocumentWithSpecificEditor(IServiceProvider^, String^, Guid, Guid)

Opens the specified document by using the specified editor.

System_CAPS_pubmethodSystem_CAPS_staticOpenDocumentWithSpecificEditor(IServiceProvider^, String^, Guid, Guid, IVsUIHierarchy^, UInt32, IVsWindowFrame^)

Opens the specified document by using the specified editor.

System_CAPS_pubmethodSystem_CAPS_staticOpenSystemBrowser(String^)

Open the system default browser on the given URL.

System_CAPS_pubmethodSystem_CAPS_staticPromptYesNo(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.

System_CAPS_pubmethodSystem_CAPS_staticRenameDocument(IServiceProvider^, String^, String^)

Renames the specified document.

System_CAPS_pubmethodSystem_CAPS_staticSaveFileIfDirty(IServiceProvider^, String^)

Saves the specified file if it is dirty.

System_CAPS_pubmethodSystem_CAPS_staticSaveFileIfDirty(IVsTextView^)

If the file is dirty, saves it in the specified text view.

System_CAPS_pubmethodSystem_CAPS_staticSetOleCmdText(IntPtr, String^)

Sets the actual text in an OLECMDTEXT marshaled structure. Used in typical command routing code (implementations of IOleCommandTarget)

System_CAPS_pubmethodSystem_CAPS_staticShowMessageBox(IServiceProvider^, String^, String^, OLEMSGICON, OLEMSGBUTTON, OLEMSGDEFBUTTON)

Displays a message box with the specified message.

System_CAPS_pubmethodSystem_CAPS_staticTryGetPackageExtensionPoint<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.

System_CAPS_pubmethodSystem_CAPS_staticTryOpenDocument(IServiceProvider^, String^, Guid, IVsUIHierarchy^, UInt32, IVsWindowFrame^)

Tries to open a document using the appropriate project.

Return to top
Show: