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


IEnumLayer.Reset Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Carto)  

IEnumLayer.Reset Method

Resets iterator to first layer in the set.

[Visual Basic .NET]
Public Sub Reset ( _
)
[C#]
public void Reset (
);
[C++]
HRESULT Reset(
void
);

Product Availability

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

See Also

IEnumLayer Interface

.NET Snippets

Do Identify | Loop Through Layers of Specific UID | Zoom to Selected Globe Features

.NET Samples

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) | Create camera flyby from path (Code Files: frmCameraPath) | Retrieve a color ramp from the SymbologyControl (Code Files: ColorRamps) | Schematic diagram auto refresh (Code Files: FormAutorefresh)

.NET Related Topics

Converting labels to geodatabase annotation for an entire map | 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