This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > System > ESRI.ArcGIS.esriSystem > Interfaces > IE > IEnumNamedID Interface > IEnumNamedID.Next Method (ArcObjects .NET 10.5 SDK) |
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(
BSTR* nextName,
long* identifier
);
[C++]
Parameters nextName [out] nextName is a parameter of type BSTR identifier [out, retval] identifier is a parameter of type long
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.