This concatenation operator adds characters onto the end of this string. The operator accepts another CString object, a character pointer, or a single character. You should be aware that memory exceptions may occur whenever you use this concatenation operator because new storage may be allocated for characters added to this CString object.
Header file: | Afx.h |
Platforms: | H/PC 2.0, Palm-size PC, H/PC Pro |
Windows CE versions: | 1.0 and later |
Complete documentation: | Visual C++ documentation |
const CString& operator +=( const CString& string );
throw( CMemoryException );
const CString& operator +=( TCHAR ch ); throw( CMemoryException );
const CString& operator +=( LPCTSTR lpsz ); throw( CMemoryException );