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


IEnumBSTR.Next Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (System)  

IEnumBSTR.Next Method

Obtains the next string in the list.

[Visual Basic .NET]
Public Function Next ( _
) As String
[C#]
public string Next (
);
[C++]
HRESULT Next(
  BSTR* pBSTR
);
[C++]

Parameters pBSTR [out, retval] pBSTR is a parameter of type BSTR

Product Availability

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

Description

The Next method returns the next string in the enumerator. An empty string is returned by Next when there are no more strings to fetch.

See Also

IEnumBSTR Interface