語言

SR.GetShort 方法

定義

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

多載

名稱 Description
GetShort(String)

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

GetShort(CultureInfo, String)

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

GetShort(String)

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

public:
 static short GetShort(System::String ^ name);
public static short GetShort(string name);
static member GetShort : string -> int16
Public Shared Function GetShort (name As String) As Short

參數

name
String

要回去的名字 String 。

傳回

參數所指String的值name。

另請參閱

適用於

GetShort(CultureInfo, String)

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

public:
 static short GetShort(System::Globalization::CultureInfo ^ culture, System::String ^ name);
public static short GetShort(System.Globalization.CultureInfo culture, string name);
static member GetShort : System.Globalization.CultureInfo * string -> int16
Public Shared Function GetShort (culture As CultureInfo, name As String) As Short

參數

culture
CultureInfo

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

name
String

要回去的名字 String 。

傳回

參數所指String的值name,依據該參數所指CultureInfo物件所包含culture的培養資訊格式化。

另請參閱

適用於