DateTime.IConvertible.ToDateTime(IFormatProvider) DateTime.IConvertible.ToDateTime(IFormatProvider) 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);
Function ToDateTime (provider As IFormatProvider) As DateTime Implements IConvertible.ToDateTime

Parameters

provider
IFormatProvider IFormatProvider IFormatProvider

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

Returns

The current object.

Implements

Applies to