This documentation is archived and is not being maintained.

SR.GetChar Method (CultureInfo, String)

Returns the name of the specified String, formatted with respect to the specified culture.

Namespace:  System.Web.UI.MobileControls.Adapters
Assembly:  System.Web.Mobile (in System.Web.Mobile.dll)

public static char GetChar(
	CultureInfo culture,
	string name


Type: System.Globalization.CultureInfo

A CultureInfo that contains the relevant cultural information used to format the return value.

Type: System.String

The name of the String to be returned.

Return Value

Type: System.Char
The value of the String referred to by the name parameter, formatted with respect to the culture information contained in the CultureInfo referred to by the culture parameter.

Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0, 2.0, 1.1