Byte.IConvertible.ToDateTime(IFormatProvider) Method

Definition

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

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

Parameters

provider
IFormatProvider

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

Returns

DateTime

不支援這個轉換。This conversion is not supported. 沒有傳回值。No value is returned.

Implements

Exceptions

在所有情況下。In all cases.

Applies to