String.IConvertible.ToDateTime(IFormatProvider) Méthode
Définition
Pour obtenir une description de ce membre, consultez ToDateTime(IFormatProvider).For a description of this member, see ToDateTime(IFormatProvider).
virtual DateTime System.IConvertible.ToDateTime(IFormatProvider ^ provider) = IConvertible::ToDateTime;
DateTime IConvertible.ToDateTime (IFormatProvider provider);
Function ToDateTime (provider As IFormatProvider) As DateTime Implements IConvertible.ToDateTime
Paramètres
- provider
- IFormatProvider
Objet qui fournit des informations de mise en forme propres à la culture.An object that provides culture-specific formatting information.
Retours
Implémente
Remarques
Ce membre est une implémentation d'un membre d'interface explicite.This member is an explicit interface member implementation. Il peut uniquement être utilisé lorsque l'instance de String est castée en interface IConvertible.It can be used only when the String instance is cast to an IConvertible interface. L’alternative recommandée consiste à appeler la méthode Convert.ToDateTime(String, IFormatProvider).The recommended alternative is to call the Convert.ToDateTime(String, IFormatProvider) method.