Share via


IInstalledExtension.State Property

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
    Get
EnabledState State { get; }
property EnabledState State {
    EnabledState get ();
}
abstract State : EnabledState
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