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


IFIDSet.Next Method (ArcObjects .NET 10.7 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IF > IFIDSet Interface > IFIDSet.Next Method
ArcGIS Developer Help

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(
  System.Int32* 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