Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.

CArchive::IsStoring

Determines whether the archive is storing data.

BOOL IsStoring( ) const;

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 = 0;
if(ar.IsStoring())
   ar << i;
else
   ar >> i;			

Header: afx.h

Community Additions

ADD
Show:
© 2015 Microsoft