FileNames object maintains an array of file paths.

Supported Platforms

Windows, Solaris, Linux


Interfaces Description
IFileNames Provides access to members that control an array of filenames.
IFileNames2 Provides access to retrieve subsets based on extension.


The FileNames object is used by several interfaces including IWorkspaceFactory and IGxObjectFactory to determine whether a set of files conform to a particular data source.

FileNames offers some advanced file-specific array methods through its IFileNames2 interface.

The FileNames object is not associated with the FileName object which performs a specific role as a Name object.

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.