Partilhar via


CFileFind Members

Base Class Members

CObject Members

Construction

CFileFind

Constructs a CFileFind object.

Attributes

GetCreationTime

Gets the time the file was created.

GetFileName

Gets the name, including the extension, of the found file

GetFilePath

Gets the whole path of the found file.

GetFileTitle

Gets the title of the found file. The title does not include the extension.

GetFileURL

Gets the URL, including the file path, of the found file.

GetLastAccessTime

Gets the time that the file was last accessed.

GetLastWriteTime

Gets the time the file was last changed and saved.

GetLength

Gets the length of the found file, in bytes.

GetRoot

Gets the root directory of the found file.

IsArchived

Determines if the found file is archived.

IsCompressed

Determines if the found file is compressed.

IsDirectory

Determines if the found file is a directory.

IsDots

Determines if the name of the found file has the name "." or "..", indicating that is actually a directory.

IsHidden

Determines if the found file is hidden.

IsNormal

Determines if the found file is normal (in other words, has no other attributes).

IsReadOnly

Determines if the found file is read-only.

IsSystem

Determines if the found file is a system file.

IsTemporary

Determines if the found file is temporary.

MatchesMask

Indicates the desired file attributes of the file to be found.

Operations

Close

Closes the search request.

CloseContext

Closes the file specified by the current search handle.

FindFile

Searches a directory for a specified file name.

FindNextFile

Continues a file search from a previous call to FindFile.

See Also

Reference

CFileFind Class

Hierarchy Chart