NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Char.ToUpper (Char, CultureInfo)

Converts a specified Char to uppercase for the specified locale.

[Visual Basic]
Overloads Public Shared Function ToUpper( _
   ByVal c As Char, _
   ByVal culture As CultureInfo _
) As Char
[C#]
public static char ToUpper(
   char c,
   CultureInfo culture
);
[C++]
public: static __wchar_t ToUpper(
   __wchar_t c,
   CultureInfo* culture
);
[JScript]
public static function ToUpper(
   c : Char,
   culture : CultureInfo
) : Char;

Parameters

c
A Char value.
culture
The local specifications to use when converting the character.

Return Value

The uppercase version of c according the specified culture.

Remarks

The ToUpper method converts a specified Char to upper case with a specified culture (see CultureInfo for more information on cultures).

It is a wrapper for Char.ToUpper and converts the character to its upper case equivalent. If the character is already a upper case character or is not alphabetic, then nothing happens.

See Also

Char Structure | Char Members | System Namespace | Char.ToUpper Overload List