Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic


Determines whether the archive is storing data.

BOOL IsStoring( ) const;

Return Value

Nonzero if the archive is currently being used for storing; otherwise 0.


This member function is called by the Serialize functions of the archived classes.

If the IsStoring status of an archive is nonzero, then its IsLoading status is 0, and vice versa.


int i;
extern CArchive ar;
if( ar.IsStoring() )
  ar << i;
  ar >> i;

See Also

CArchive Overview | Class Members | Hierarchy Chart | CArchive::IsLoading

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
© 2014 Microsoft. All rights reserved.