Szerkesztés

Megosztás a következőn keresztül:


SR.GetChar Method

Definition

Returns a Unicode character. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

Overloads

GetChar(String)

Returns the name of the specified String. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

GetChar(CultureInfo, String)

Returns the name of the specified String, formatted with respect to the specified culture. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

GetChar(String)

Returns the name of the specified String. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

public:
 static char GetChar(System::String ^ name);
public static char GetChar (string name);
static member GetChar : string -> char
Public Shared Function GetChar (name As String) As Char

Parameters

name
String

The name of the String to be returned.

Returns

The value of the String referred to by the name parameter.

See also

Applies to

GetChar(CultureInfo, String)

Returns the name of the specified String, formatted with respect to the specified culture. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

public:
 static char GetChar(System::Globalization::CultureInfo ^ culture, System::String ^ name);
public static char GetChar (System.Globalization.CultureInfo culture, string name);
static member GetChar : System.Globalization.CultureInfo * string -> char
Public Shared Function GetChar (culture As CultureInfo, name As String) As Char

Parameters

culture
CultureInfo

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

name
String

The name of the String to be returned.

Returns

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.

See also

Applies to