SR.GetFloat Method
Definition
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 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 |
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
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.
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.