[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Prevents an installed extension from being loaded. This action may require a restart of Visual Studio.
Assembly: Microsoft.VisualStudio.ExtensionManager (in Microsoft.VisualStudio.ExtensionManager.dll)
- Type: Microsoft.VisualStudio.ExtensionManager.IInstalledExtension
The extension to be disabled.
Return ValueType: Microsoft.VisualStudio.ExtensionManager.RestartReason
PendingDisable if a restart of Visual Studio is required; otherwise, None.
- 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.