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


IFileNames Interface (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (System)  

IFileNames Interface

Provides access to members that control an array of filenames.

Product Availability

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

Members

Description
Method Add Adds a filename to the array.
Method IsDirectory Indicates if the current filename is a directory.
Method Next Obtains the next filename in the array.
Method Remove Removes the current filename from the array.
Method Reset Resets the current position back to the beginning of the array.

CoClasses that implement IFileNames

CoClasses and Classes Description
FileNames FileNames object maintains an array of file paths.

Remarks

IFileNames offers only sequential access to the array. The file names are added to the array as full paths strings. The paths can refer to folders as well as files.