The document is archived and information here might be outdated
Visual Studio .NET 2003
Determines whether the archive is loading data.
BOOL IsLoading( ) const;
Nonzero if the archive is currently being used for loading; otherwise 0.
This member function is called by the Serialize functions of the archived classes.
int i; extern CArchive ar; if( ar.IsLoading() ) ar >> i; else ar << i;