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


IFIDSet.Next Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (GeoDatabase)  

IFIDSet.Next Method

Gets the next feature id from the set.

[Visual Basic .NET]
Public Sub Next ( _
    ByRef fID As Integer _
)
[C#]
public void Next (
    ref int fID
);
[C++]
HRESULT Next(
  long* fID
);
[C++]

Parameters fID [out] fID is a parameter of type long

Product Availability

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

Remarks

Calling Next when there are no more IDs in the FIDset will return -1.

See Also

IFIDSet Interface