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.

C#
public static short GetShort(string name);

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

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

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.

C#
public static short GetShort(System.Globalization.CultureInfo culture, string name);

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

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1