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


ISet.Reset Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (System)  

ISet.Reset Method

Resets the set for enumerating through the objects with Next.

[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.

Description

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

Remarks

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