Freigeben über


CStringT::MakeUpper

Converts the CStringT object to an uppercase string.

CStringT& MakeUpper();

Return Value

The resulting uppercase string.

Remarks

Returns a copy of the string but in all uppercase characters.

Example

// typedef CStringT<TCHAR, StrTraitATL<TCHAR, ChTraitsCRT<TCHAR>>> CAtlString;

CAtlString s(_T("abc"));

ASSERT(s.MakeUpper() == _T("ABC"));   

Requirements

Header: cstringt.h

See Also

Concepts

CStringT Class

CStringT Members