DateTime.IConvertible.ToDouble(IFormatProvider) 方法

定義

不支援這個轉換。This conversion is not supported. 嘗試使用這個方法會擲回 InvalidCastExceptionAttempting to use this method throws an InvalidCastException.

 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

實作 IFormatProvider 介面的物件。An object that implements the IFormatProvider interface. (不使用這個參數;請指定 null)。(This parameter is not used; specify null.)

傳回

不使用此成員的傳回值。The return value for this member is not used.

實作

例外狀況

在所有情況下。In all cases.

適用於