Redigera

Dela via


SR.GetShort Method

Definition

Returns a 16-bit signed integer. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

Overloads

GetShort(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.

GetShort(CultureInfo, String)

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

GetShort(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 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

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

GetShort(CultureInfo, String)

Returns the name of the specified String, formatted with respect to the information specified by the culture parameter. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with 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

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 object referred to by the culture parameter.

See also

Applies to