Export (0) Print
Expand All

IVsExtensionManager.Disable Method

Prevents an installed extension from being loaded. This action may require a restart of Visual Studio.

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

RestartReason Disable(
	IInstalledExtension extension
)

Parameters

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

Return Value

Type: Microsoft.VisualStudio.ExtensionManager.RestartReason
PendingDisable if a restart of Visual Studio is required; otherwise, None.

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

Community Additions

ADD
Show:
© 2014 Microsoft