Character.IConvertible.ToSingle(IFormatProvider) Method

Definition

Conversion to Single is unsupported and throws InvalidCastException.

float IConvertible.ToSingle(IFormatProvider? provider);
abstract member System.IConvertible.ToSingle : IFormatProvider -> single
override this.System.IConvertible.ToSingle : IFormatProvider -> single

Parameters

provider
IFormatProvider

The format provider that supplies culture-specific conversion information.

Returns

Implements

Exceptions

Conversion from Character to Single is not supported.

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to