ArcObjects Library Reference (Carto)  

IEnumLayer Interface

Provides access to members that allow iteration through a set of layers.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Members

Description
Method Next The next layer in the set.
Method Reset Resets iterator to first layer in the set.

Remarks

IEnumLayer provides access to an enumeration of layers as would be returned by IMap::Layers.

.NET Snippets

Create Group Layer Animation | Zoom to Selected Globe Features | Do Identify | Loop Through Layers of Specific UID | Draw Globe Layers in Correct Order

.NET Samples

ArcGIS Network Analyst extension Engine application (Code Files: frmLoadLocations) | Dynamic display layer (Code Files: AddMyDynamicLayerCmd) | Load network layer from active analysis to the table of contents (Code Files: LoadNetworkLayerFromActiveAnalysisToTOC) | Create a geoprocessing tool to buffer a layer and retrieve messages (Code Files: BufferDlg) | Utility wizard for basic schematic datasets configuration (Code Files: GenerateSchematicTemplate) | Selection restriction evaluator (Code Files: SelectionRestrictionEvaluator) | Updating the purge rule on a real-time temporal layer (Code Files: PurgeRuleForm TAPurgeRuleCmd) | Layer filtering TOC view (Code Files: TOCLayerFilter) | Graphics layers ToolControl (Code Files: GraphicsLayersListCtrl) | Custom scene navigation commands (Code Files: SelectFeatures) | Subset network evaluators (Code Files: SubsetHelperUI) | RSS weather layer (Code Files: AddRSSWeatherLayer AddWeatherItemCmd AddWeatherItemTool RefreshLayerCmd RSSLayerProperties SelectByCityName) | Multivariate renderer (Code Files: PropPageForm) | Custom selection extension (Code Files: SelectionExtension) | Create camera flyby from path (Code Files: frmCameraPath) | Retrieve a color ramp from the SymbologyControl (Code Files: ColorRamps) | Create a custom selection extension by extending ArcObjects (Code Files: SelectionExtension) | Schematic diagram auto refresh (Code Files: FormAutorefresh) | Temporal statistics (Code Files: MainForm)

.NET Related Topics

Add-in coding patterns | Converting labels to geodatabase annotation for a single layer | Converting labels to geodatabase annotation for an entire map | GlobeCore | How to access maps and layers via the MapDocument | How to access maps and layers via the MxDocument | How to add different types of layers to a map | How to drop data onto the MapControl | How to get and set the drawing order of layers in globe | How to zoom to selected features in globe