This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > System > ESRI.ArcGIS.esriSystem > Interfaces > IS > ISet Interface > ISet.Reset Method (ArcObjects .NET 10.4 SDK) |
Resets the set for enumerating through the objects with Next.
[Visual Basic .NET]
Public Sub Reset ( _
)
[C#] public void Reset ( );
[C++]
HRESULT Reset(
void
);
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.