ToUpper()

Char::ToUpper(char_t) method

Converts the specified character to upper case.

static char_t System::Char::ToUpper(char_t c)

Arguments

ParameterTypeDescription
cchar_tCharacter to convert

Return Value

The specified character in upper case if the specified character is a lower case letter, otherwise - the specified character

Char::ToUpper(char_t, const SharedPtr<Globalization::CultureInfo>&) method

Converts the specified character to upper case.

static char_t System::Char::ToUpper(char_t c, const SharedPtr<Globalization::CultureInfo> &culture)

Arguments

ParameterTypeDescription
cchar_tCharacter to convert
cultureconst SharedPtr<Globalization::CultureInfo>&An object that supplies culture-specific casing rules.

Return Value

The specified character in upper case if the specified character is a lower case letter, otherwise - the specified character

See Also