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


IEnumNamedID.Next Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (System)  

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