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