Retrieves the next id in the enumeration sequence.
[Visual Basic .NET] Public Function Next ( _ ) As Integer
[C#] public int Next ( );
[C++]
HRESULT Next(
long* ID
);
[C++]Parameters
ID [out, retval] ID is a parameter of type long
Product Availability
Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.
Remarks
IEnumIDs::Next returns -1 when there are no more IDs in the enumeration.