CFile::Abort

This method closes the file associated with this object and make the file unavailable for reading or writing.

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

At a Glance

Header file: Afx.h
Platforms: H/PC 2.0, Palm-size PC, H/PC Pro
Windows CE versions: 1.0 and later
Complete documentation: Visual C++ documentation

Syntax

virtual void Abort( );

See Also

CFile::Close, CFile::Open