Single.IConvertible.ToChar(IFormatProvider) 方法

定义

不支持此转换。This conversion is not supported. 尝试使用此方法将引发 InvalidCastExceptionAttempting to use this method throws an InvalidCastException.

 virtual char System.IConvertible.ToChar(IFormatProvider ^ provider) = IConvertible::ToChar;
char IConvertible.ToChar (IFormatProvider provider);
Function ToChar (provider As IFormatProvider) As Char Implements IConvertible.ToChar

参数

provider
IFormatProvider

忽略此参数。This parameter is ignored.

返回

不支持此转换。This conversion is not supported. 不返回任何值。No value is returned.

实现

异常

在所有情况下。In all cases.

适用于