Char.IConvertible.ToSingle(IFormatProvider) Method

Definition

注意不支持此转换。Note This conversion is not supported. 尝试这样做会引发 InvalidCastExceptionAttempting to do so throws an InvalidCastException.

 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

该参数将被忽略。This parameter is ignored.

Returns

Single

不返回任何值。No value is returned.

Implements

Exceptions

不支持此转换。This conversion is not supported.

Applies to