Redigeeri

Jagamisviis:


Enum.IConvertible.ToSingle(IFormatProvider) Method

Definition

Converts the current value to a single-precision floating-point number based on the underlying type.

 virtual float System.IConvertible.ToSingle(IFormatProvider ^ provider) = IConvertible::ToSingle;
float IConvertible.ToSingle (IFormatProvider provider);
abstract member System.IConvertible.ToSingle : IFormatProvider -> single
override this.System.IConvertible.ToSingle : IFormatProvider -> single
Function ToSingle (provider As IFormatProvider) As Single Implements IConvertible.ToSingle

Parameters

provider
IFormatProvider

An object that supplies culture-specific formatting information.

Returns

This member always throws an exception.

Implements

Exceptions

In all cases.

Remarks

Currently not implemented. Always throws an exception.

Applies to