共用方式為


CPathT::FileExists

Call this method to check whether the file at this path name exists.

BOOL FileExists( ) const;

Return Value

Returns TRUE if the file exists, FALSE otherwise.

Remarks

For more information, see PathFileExists.

Requirements

Header: atlpath.h

See Also

Reference

CPathT Class

Other Resources

CPathT Members