共用方式為


CFileFind::IsDots

Call this member function to test for the current directory and parent directory markers while iterating through files.

virtual BOOL IsDots( ) const;

Return Value

Nonzero if the found file has the name "." or "..", which indicates that the found file is actually a directory. Otherwise 0.

Remarks

You must call FindNextFile at least once before calling IsDots.

Example

See the example for CFileFind::IsDirectory.

Requirements

Header: afx.h

See Also

Concepts

CFileFind Class

CFileFind Members

Hierarchy Chart

CFileFind::IsDirectory