Char.IConvertible.ToSingle(IFormatProvider) 方法

定義

注意:不支援這項轉換。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

參數

provider
IFormatProvider

這個參數已忽略。This parameter is ignored.

傳回

Single

沒有傳回值。No value is returned.

實作

例外狀況

不支援此轉換。This conversion is not supported.

適用於