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


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

ISet.Next Method

Obtains the next object in the set.

[Visual Basic .NET]
Public Function Next ( _
) As Object
[C#]
public object Next (
);
[C++]
HRESULT Next(
void
);

Product Availability

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

Description

The Next method returns the next 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