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
Product Availability
Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.
Remarks
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.