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

CommandsEnvironment Class (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Controls > ESRI ArcGIS Controls > Classes > C > CommandsEnvironment Class
ArcGIS Developer Help

CommandsEnvironmentClass Class

Defines the commands environment.

Product Availability

Available with ArcGIS Engine.


The CommandsEnvironment object is a singleton object (only one instance of the CommandsEnvironment object is supported per thread) for managing the graphic properties and layer effect properties used by the controls commands, and can be used by any custom commands you develop.


Interfaces Description
IGraphicProperties Provides access to members that control the CommandsEnvironment singleton.
ILayerEffectProperties Provides access to layer effect settings that are used by the control commands.
CommandsEnvironment is the one and only instance of its class.