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


IGpEnumList.Next Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Geoprocessing)  

IGpEnumList.Next Method

Returns the next string in the list.

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

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

Product Availability

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

Remarks

For an example of using IGPEnumList and the Next method click the "How to list tools and environments" and the "How to list data" links in the Related Topics section of IGPEnumList.

 

See Also

IGpEnumList Interface

.NET Samples

Using list functions to migrate from personal geodatabases to file geodatabases (Code Files: ToFileGDB)

.NET Related Topics

How to create a script tool that runs an EXE | How to create an application to run on a schedule | How to find the top left extent of the rasters in a folder and its subfolders | How to list data | How to use multiple inputs | How to validate table and field names | Using environment settings