編輯

共用方式為


DateTime.IConvertible.ToDateTime(IFormatProvider) Method

Definition

Returns the current DateTime object.

 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

An object that implements the IFormatProvider interface. (This parameter is not used; specify null.)

Returns

The current object.

Implements

Applies to