CFileFind::GetFileName

virtual CString GetFileName( ) const;

Return Value

The name of the most-recently-found file.

Remarks

Call this member function to get the name of the found file. You must call FindNextFile at least once before calling GetFileName.

GetFileName is one of three CFileFind member functions that return some form of the file name. The following list describes the three and how they vary:

CFileFind OverviewClass MembersHierarchy Chart

See Also   CFileFind::FindFile