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

ISet.Reset Method (ArcObjects .NET 10.7 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > System > ESRI.ArcGIS.esriSystem > Interfaces > IS > ISet Interface > ISet.Reset Method
ArcGIS Developer Help

ISet.Reset Method

Resets the set for enumerating through the objects with Next.

[Visual Basic .NET]
Public Sub Reset ( _
public void Reset (

Product Availability

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


The Reset method resets the Set so that the next call to the Next method returns the first object in the Set.


The order that objects are returned from the Set object using the Next method is not guaranteed to be the same order as they were passed into the Add method.  However, the Next method will return the objects in the same order.

See Also

ISet Interface