UInt32.IConvertible.ToDouble(IFormatProvider) Method

Definition

如需這個成員的說明,請參閱 ToDouble(IFormatProvider)For a description of this member, see ToDouble(IFormatProvider).

 virtual double System.IConvertible.ToDouble(IFormatProvider ^ provider) = IConvertible::ToDouble;
double IConvertible.ToDouble (IFormatProvider provider);
abstract member System.IConvertible.ToDouble : IFormatProvider -> double
override this.System.IConvertible.ToDouble : IFormatProvider -> double
Function ToDouble (provider As IFormatProvider) As Double Implements IConvertible.ToDouble

Parameters

provider
IFormatProvider

此參數會被忽略。This parameter is ignored.

Returns

Double

目前執行個體的值,轉換為 DoubleThe value of the current instance, converted to a Double.

Implements

Remarks

這個成員是明確介面成員實作,This member is an explicit interface member implementation. 只有在 UInt32 執行個體轉換成 IConvertible 介面時,才能使用這個成員。It can be used only when the UInt32 instance is cast to an IConvertible interface. 建議的替代做法是呼叫 Convert.ToDouble(UInt32) 方法。The recommended alternative is to call the Convert.ToDouble(UInt32) method.

Applies to