CSimpleStringT::GetString
Retrieves the character string.
PCXSTR GetString( ) const throw( );
Возвращаемое значение
A pointer to a null-terminated character string.
Заметки
Call this method to retrieve the character string associated with the CSimpleStringT object.
Примечание. |
---|
The returned PCXSTR pointer is const and does not allow direct modification of CSimpleStringT contents. |
Пример
The following example demonstrates the use of CSimpleStringT::GetString.
CSimpleString str(pMgr);
str += _T("Cup soccer is best!");
_tprintf_s(_T("%s"), str.GetString());
Требования
Header: atlsimpstr.h