Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

IVsExtensionManager Methods

The IVsExtensionManager type exposes the following members.

  NameDescription
Public method CreateExtension Extension factory method.
Public method CreateInstallableExtension Factory method for extensions that are installable.
Public method Disable Prevents an installed extension from being loaded. This action may require a restart of Visual Studio.
Public method Enable Enables an extension to be loaded. This action may require a restart of Visual Studio.
Public method FindMissingReferences Checks whether all references of a given extension are installed. This method only checks for first-level dependencies and does not verify that references of references are installed.
Public method GetEnabledExtensionContentLocations(String) Queries for a collection of the paths of all content of a particular type that is included in enabled extensions.
Public method GetEnabledExtensionContentLocations(String, IDictionary<String, String>) Queries for a collection of the paths of all content of a particular type that is included in enabled extensions, and then filters the results by matching the given attributes to the XML attributes on the content node.
Public method GetEnabledExtensions() Queries for all enabled extensions under ExtensionsRoot.
Public method GetEnabledExtensions(String) Queries for all enabled extensions that contain a particular content type, for example, ItemTemplates or MEFComponents.
Public method GetImmediateDependants Finds all installed extensions that depend on the given extension.
Public method GetInstalledExtension Query for an installed extension by using its extension identifier (ID).
Public method GetInstalledExtensions Query for all installed extensions under ExtensionsRoot.
Public method Install Installs an extension to the ExtensionsRoot directory.
Public method InstallAsync(IInstallableExtension, Boolean) Asynchronously installs an extension to the ExtensionsRoot directory. Installations that are invoked by using this method cannot be canceled.
Public method InstallAsync(IInstallableExtension, Boolean, Object) Asynchronously installs an extension to the ExtensionsRoot directory. Installations that are invoked by using this method may be canceled by passing the userState object to the InstallAsyncCancel method.
Public method InstallAsyncCancel Cancels a pending asynchronous installation operation.
Public method IsInstalled Determines whether an extension is installed in any ExtensionsRoot directory.
Public method RevertUninstall Reverts an uninstalled extension to an installed state.
Public method TryGetInstalledExtension Query for an installed extension by using the extension identifier (ID).
Public method Uninstall Uninstalls an extension from the ExtensionsRoot directory. A restart of Visual Studio is required to complete the uninstallation.
Top
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.