다음을 통해 공유


CFile::Flush

Forces any data remaining in the file buffer to be written to the file.

virtual void Flush( );

Remarks

The use of Flush does not guarantee flushing of CArchive buffers. If you are using an archive, call CArchive::Flush first.

Example

See the example for CFile::SetFilePath.

Requirements

Header: afx.h

See Also

Reference

CFile Class

Hierarchy Chart

Other Resources

CFile Members