SR.GetShort Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
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 |
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
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 |
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.
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 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: