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


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

IEnumNamedID.Next Method

Obtains the next name-ID pair in the set.

[Visual Basic .NET]
Public Function Next ( _
    ByRef nextName As String _
) As Integer
[C#]
public int Next (
    ref string nextName
);
[C++]
HRESULT Next(
  System.String* nextName
);
[C++]
Parameters
nextName [out]

nextName is a parameter of type BSTR*

Product Availability

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

Description

The Next method returns the next ID and name pair in the enumerator. When there are no more pairs to fetch, Next returns an empty name string.

See Also

IEnumNamedID Interface