CArchive::ReadObject

This member function reads object data from the archive and constructs an object of the appropriate type.

Syntax

CObject* ReadObject( const CRuntimeClass* pClass );
throw( CFileException, CArchiveException, CMemoryException );

At a Glance

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

See Also

CArchive Overview, CArchive Member Functions, Run-Time Object Model Support, CArchive::WriteObject, CObject::IsKindOf