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
TRY
Expand Minimize

SerializeElements

CArray, CList, and CMap call this function to serialize elements.

template< class TYPE >  
void AFXAPI SerializeElements( 
   CArchive& ar, 
   TYPE* pElements, 
   INT_PTR nCount  
);

TYPE

Template parameter specifying the type of the elements.

ar

An archive object to archive to or from.

pElements

Pointer to the elements being archived.

nCount

Number of elements being archived

The default implementation does a bitwise read or write.

For information on implementing this and other helper functions, see the article Collections: How to Make a Type-Safe Collection.

Header: afxtempl.h

Community Additions

ADD
Show:
© 2015 Microsoft