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

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) | Create a geoprocessing tool to buffer a layer and retrieve messages (Code Files: BufferDlg) | Utility wizard for basic schematic datasets configuration (Code Files: GenerateSchematicTemplate) | Updating the purge rule on a real-time temporal layer (Code Files: PurgeRuleForm) | Graphics layers ToolControl (Code Files: GraphicsLayersListCtrl) | 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

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