This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > System > ESRI.ArcGIS.esriSystem > Interfaces > IE > IExtensionConfig Interface > IExtensionConfig.State Property (ArcObjects .NET 10.5 SDK) |
The state of the extension.
[Visual Basic .NET] Public Property State As esriExtensionState
[C#] public esriExtensionState State {get; set;}
[C++]
HRESULT get_State(
esriExtensionState* State
);
[C++]
HRESULT put_State(
esriExtensionState State
);
[C++]
Parameters State [out, retval]
State is a parameter of type esriExtensionState State [in]
State is a parameter of type esriExtensionState
The esriExtensionState enumeration is used with this property to specify whether the extension is enabled, disabled, or unavailable. When the state is enabled, the extension is checked in the Extensions dialog. The checked state of the extension is saved in the user settings in the registry.
If the extension is terminated prematurely (for example, from interrupting a debugging session) the State will be set to 0.