共用方式為


EnabledState Enumeration

The enabled status of the current extension.

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

Syntax

'宣告
Public Enumeration EnabledState
public enum EnabledState
public enum class EnabledState
type EnabledState
public enum EnabledState

Members

Member name Description
Disabled The extension is disabled.

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

Enabled The extension is enabled.

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

PendingDisable The command was given to disable the extension, but the change requires a restart of Visual Studio.

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

PendingEnable The command was given to enable the extension, but the change requires a restart of Visual Studio.

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

Remarks

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

See Also

Reference

Microsoft.VisualStudio.ExtensionManager Namespace