SByte.IConvertible.ToDateTime(IFormatProvider) 方法

定義

不支援這個轉換。This conversion is not supported. 嘗試這麼做會擲回 InvalidCastExceptionAttempting to do so throws an InvalidCastException.

 virtual DateTime System.IConvertible.ToDateTime(IFormatProvider ^ provider) = IConvertible::ToDateTime;
DateTime IConvertible.ToDateTime (IFormatProvider provider);
Function ToDateTime (provider As IFormatProvider) As DateTime Implements IConvertible.ToDateTime

參數

provider
IFormatProvider

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

傳回

無。None. 不支援這個轉換。This conversion is not supported.

實作

例外狀況

在所有情況下。In all cases.

適用於