Share via


IInstalledExtension.State Property

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

The current state of the installed extension.

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

Syntax

'Declaration
ReadOnly Property State As EnabledState
EnabledState State { get; }
property EnabledState State {
    EnabledState get ();
}
abstract State : EnabledState with get
function get State () : EnabledState

Property Value

Type: Microsoft.VisualStudio.ExtensionManager.EnabledState
true if the extension is currently enabled; otherwise, false.

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

See Also

Reference

IInstalledExtension Interface

Microsoft.VisualStudio.ExtensionManager Namespace