Export (0) Print
Expand All

Char.ToUpper Method (Char, CultureInfo)

Converts the value of a specified Unicode character to its uppercase equivalent using specified culture-specific formatting information.

Namespace:  System
Assembly:  mscorlib (in mscorlib.dll)

'Declaration
Public Shared Function ToUpper ( _
	c As Char, _
	culture As CultureInfo _
) As Char

Parameters

c
Type: System.Char
A Unicode character.
culture
Type: System.Globalization.CultureInfo
An object that supplies culture-specific casing rules.

Return Value

Type: System.Char
The uppercase equivalent of c, modified according to culture, or the unchanged value of c if c is already uppercase, has no uppercase equivalent, or is not alphabetic.

ExceptionCondition
ArgumentNullException

culture is Nothing.

Use String.ToUpper to convert a string to uppercase.

Notes to Callers

On Mac OS X v 10.4 and earlier versions, converting a Char to uppercase by specifying a culture other than the current culture is not supported.

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

XNA Framework

Supported in: Xbox 360, Windows Phone OS 7.0

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show:
© 2014 Microsoft