ArcObjects Library Reference (Carto)  

IEnumLayer.Next Method

The next layer in the set.

[Visual Basic .NET]
Public Function Next ( _
) As ILayer
[C#]
public ILayer Next (
);
[C++]
HRESULT Next(
  ILayer** Layer
);
[C++]

Parameters

Layer [out, retval]

  Layer is a parameter of type ILayer

Product Availability

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

See Also

IEnumLayer Interface

.NET Snippets

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

.NET Samples

Create a custom selection extension by extending ArcObjects (Code Files: SelectionExtension) | Create a geoprocessing tool to buffer a layer and retrieve messages (Code Files: BufferDlg) | Create camera flyby from path (Code Files: frmCameraPath) | Custom selection extension (Code Files: SelectionExtension) | Displaying MOLE symbology with the GlobeControl (Code Files: MainForm) | Graphics layers ToolControl (Code Files: GraphicsLayersListCtrl) | Multivariate renderer (Code Files: PropPageForm) | Network Analyst Engine application (Code Files: frmLoadLocations) | Retrieve a color ramp from the SymbologyControl (Code Files: ColorRamps) | Schematic diagram auto refresh (Code Files: FormAutorefresh) | Temporal statistics (Code Files: MainForm) | Updating the purge rule on a real-time temporal layer (Code Files: PurgeRuleForm) | Using the traversal result to select source features (Code Files: SelectFeaturesTool) |

.NET Related Topics

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 | Utility COM objects |