Bridge

Convert..::..ToSingle Method (Object, IFormatProvider)

Converts the value of the specified object to an single-precision floating-point number, using the specified culture-specific formatting information. Note: Calling this method for [DateTime] value always throws InvalidCastException.

Namespace:  System
Assembly:  Bridge (in Bridge.dll)

Syntax


[TemplateAttribute]
public static float ToSingle(
	Object value,
	IFormatProvider provider
)
<TemplateAttribute> _
Public Shared Function ToSingle ( _
	value As Object, _
	provider As IFormatProvider _
) As Single
[TemplateAttribute]
public:
static float^ ToSingle(
	Object^ value, 
	IFormatProvider^ provider
)

Parameters

value
Type: System..::..Object
provider
Type: System..::..IFormatProvider