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
- 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.