This document is archived and information here might be outdated.  Recommended version.


IExtensionConfig.State Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > System > ESRI.ArcGIS.esriSystem > Interfaces > IE > IExtensionConfig Interface > IExtensionConfig.State Property
ArcGIS Developer Help

IExtensionConfig.State Property

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.

See Also

IExtensionConfig Interface