DateTime.IConvertible.ToDateTime(IFormatProvider) Method

Definition

Retourne l'objet DateTime actuel.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

Objet qui implémente l'interface IFormatProvider.An object that implements the IFormatProvider interface. (Ce paramètre n'est pas utilisé ; spécifiez null).(This parameter is not used; specify null.)

Returns

DateTime

Objet actif.The current object.

Implements

Applies to