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)
Syntax
'Declaration
Sub Uninstall ( _
extension As IInstalledExtension _
)
void Uninstall(
IInstalledExtension extension
)
void Uninstall(
IInstalledExtension^ extension
)
abstract Uninstall :
extension:IInstalledExtension -> unit
function Uninstall(
extension : IInstalledExtension
)
Parameters
- extension
Type: Microsoft.VisualStudio.ExtensionManager.IInstalledExtension
The extension to be uninstalled.
Remarks
Although this API supports the Extension Manager infrastructure, we recommend that you do not use it because it is subject to change.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.