ToLower Method (Char, CultureInfo)
Collapse the table of content
Expand the table of content

Char.ToLower Method (Char, CultureInfo)

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

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

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

'Declaration
Public Shared Function ToLower ( _
	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 lowercase equivalent of c, modified according to culture, or the unchanged value of c, if c is already lowercase or not alphabetic.

ExceptionCondition
ArgumentNullException

culture is Nothing.

Use String.ToLower to convert a string to lowercase.

The following example demonstrates ToLower.



Module Example

   Public Sub Demo(ByVal outputBlock As System.Windows.Controls.TextBlock)
      outputBlock.Text &= Char.ToLower("A"c) & vbCrLf               ' Output: "a"
   End Sub

End Module


Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft