Call this member function to close the file associated with this object and make the file unavailable for reading or writing. If you have not closed the file before destroying the object, the destructor closes it for you.
virtual void Close( );
throw( CFileException );
Header File | Afx.h |
Platforms | |
Versions | 1.0 and later |
Complete documentation | Visual C++ documentation |
CFile Overview, CFile Member Functions, File Service Classes, CFile::Open