This document is archived and information here might be outdated. Recommended version. |
Obtains the next filename in the array.
[Visual Basic .NET] Public Function Next ( _ ) As String
[C#] public string Next ( );
[C++]
HRESULT Next(
void
);
Returns the current file name in the array as a full path string.
The Next method will return a zero-length string when it reaches the end of the array. Use the Reset method to go back to the beginning of the array to gain sequential access to the file names.