Edit

Share via


SR.GetInt Method

Definition

Returns a 32-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

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

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

GetInt(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 int GetInt(System::Globalization::CultureInfo ^ culture, System::String ^ name);
public static int GetInt (System.Globalization.CultureInfo culture, string name);
static member GetInt : System.Globalization.CultureInfo * string -> int
Public Shared Function GetInt (culture As CultureInfo, name As String) As Integer

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

GetInt(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 int GetInt(System::String ^ name);
public static int GetInt (string name);
static member GetInt : string -> int
Public Shared Function GetInt (name As String) As Integer

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