CFile::Close

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.

Syntax

virtual void Close( );
throw( CFileException );

At a Glance

Header File Afx.h
Platforms
Versions 1.0 and later
Complete documentation Visual C++ documentation

See Also

CFile Overview, CFile Member Functions, File Service Classes, CFile::Open