Enum.IConvertible.ToDouble(IFormatProvider) 方法

定义

根据基础类型将当前值转换为双精度浮点数。Converts the current value to a double-precision floating point number based on the underlying type.

 virtual double System.IConvertible.ToDouble(IFormatProvider ^ provider) = IConvertible::ToDouble;
double IConvertible.ToDouble (IFormatProvider provider);
Function ToDouble (provider As IFormatProvider) As Double Implements IConvertible.ToDouble

参数

provider
IFormatProvider

一个提供区域性特定的格式设置信息的对象。An object that supplies culture-specific formatting information.

返回

此成员总是引发异常。This member always throws an exception.

实现

异常

在所有情况下。In all cases.

注解

当前未实现。Currently not implemented. 将始终引发异常。Always throws an exception.

适用于