語言

SR.GetChar 方法

定義

回傳一個 Unicode 字元。 這個 API 已經過時了。 有關如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps &ASP.NET 的網站。

多載

名稱 Description
GetChar(String)

回傳指定的 String名稱。 這個 API 已經過時了。 有關如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps &ASP.NET 的網站。

GetChar(CultureInfo, String)

回傳指定的 String名稱,並依照指定文化格式化。 這個 API 已經過時了。 有關如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps &ASP.NET 的網站。

GetChar(String)

回傳指定的 String名稱。 這個 API 已經過時了。 有關如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps &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

參數

name
String

要回去的名字 String 。

傳回

參數所指String的值name。

另請參閱

適用於

GetChar(CultureInfo, String)

回傳指定的 String名稱,並依照指定文化格式化。 這個 API 已經過時了。 有關如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps &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

參數

culture
CultureInfo

CultureInfo A 包含用於格式化返回值的相關文化資訊。

name
String

要回去的名字 String 。

傳回

參數所指String的值name,依據所包含CultureInfoculture的培養資訊格式化。

另請參閱

適用於