Partager via


CArchive::GetFile

Gets the CFile object pointer for this archive.

CFile* GetFile( ) const;

Return Value

A constant pointer to the CFile object in use.

Remarks

You must flush the archive before using GetFile.

Example

const CFile* fp = ar.GetFile();

Requirements

Header: afx.h

See Also

Reference

CArchive Class

Hierarchy Chart

CArchive::Flush