Use the CString insertion (<<) operator for diagnostic dumping and storing to an archive.
Use the extraction (>>) operator for loading from an archive.
The CDumpContext operators are valid only in the Debug version of the MFC for Windows CE.
friend CArchive& operator <<( CArchive& ar, const CString& string );
throw( CArchiveException );
friend CArchive& operator >>( CArchive& ar, CString& string );
throw( CArchiveException );
friend CDumpContext& operator <<( CDumpContext& dc, const CString& string );
Header File | Afx.h |
Platforms | |
Versions | 1.0 and later |
Complete documentation | Visual C++ documentation |
CString Overview, CString Operators, Simple Value Types, CDumpContext