This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > SystemUI > ESRI.ArcGIS.SystemUI > Interfaces > IT > IToolSelectedLayer Interface (ArcObjects .NET 10.5 SDK) |
Provides access to members that set and get the current selected layer, which selection commands and tools works on.
Implement the IToolSelectedLayer interface if you are creating a custom Command that operates with a currently 'selected' layer.
This interface is typically used when creating commands to work with the MapControl, PageLayoutControl, ToolbarControl, SceneControl and GlobeControl. If a custom command is created to work with only ArcMap use the IMxDocument::SelectedLayer property instead.
Description | ||
---|---|---|
LayerIndex | The index of selected layer. |
CoClasses and Classes | Description |
---|---|
Controls3DAnalystContourTool (esriControls) | Generates the contour that passes through a query point. |
Controls3DAnalystSteepestPathTool (esriControls) | Generates the steepest path down from a point. |
ControlsSelectAllCommand (esriControls) | Selects all the features in selectable layers. |
ControlsSwitchSelectionCommand (esriControls) | Makes unselected features selected. |
EngineNetworkAnalystEnvironment (esriControls) | A singleton object representing Engine Network Analyst environment. |