CArchive::IsLoading
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 = 0;
if(ar.IsLoading())
ar >> i;
else
ar << i;
Требования
Header: afx.h