CFile::Abort

Call this member function to close the file associated with this object and make the file unavailable for reading or writing.

The Abort function does not throw an exception on failures. Abort will not ASSERT if the file has not been opened or was closed previously.

Syntax

virtual void Abort( );

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::Close, CFile::Open