SR.GetFloat Method

Definition

Returns a single-precision floating-point number. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

Overloads

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

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

GetFloat(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 float GetFloat(System::String ^ name);
public static float GetFloat (string name);
static member GetFloat : string -> single
Public Shared Function GetFloat (name As String) As Single

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

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

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

See also

Applies to