This documentation is archived and is not being maintained.

IVsExtensionManager.Uninstall Method

Uninstalls an extension from the ExtensionsRoot directory. A restart of Visual Studio is required to complete the uninstallation.

Namespace:  Microsoft.VisualStudio.ExtensionManager
Assembly:  Microsoft.VisualStudio.ExtensionManager (in Microsoft.VisualStudio.ExtensionManager.dll)

void Uninstall(
	IInstalledExtension extension
)

Parameters

extension
Type: Microsoft.VisualStudio.ExtensionManager.IInstalledExtension
The extension to be uninstalled.

Although this API supports the Extension Manager infrastructure, we recommend that you do not use it because it is subject to change.

Show: