RepeatBehavior.IFormattable.ToString(String, IFormatProvider) Méthode

Définition

Pour obtenir une description de ce membre, consultez ToString(String, IFormatProvider).

 virtual System::String ^ System.IFormattable.ToString(System::String ^ format, IFormatProvider ^ formatProvider) = IFormattable::ToString;
string IFormattable.ToString (string format, IFormatProvider formatProvider);
abstract member System.IFormattable.ToString : string * IFormatProvider -> string
override this.System.IFormattable.ToString : string * IFormatProvider -> string
Function ToString (format As String, formatProvider As IFormatProvider) As String Implements IFormattable.ToString

Paramètres

format
String

Chaîne spécifiant le format à utiliser ou null pour utiliser le format par défaut défini pour le type de l’implémentation IFormattable.

formatProvider
IFormatProvider

Objet qui fournit des informations de mise en forme pour la valeur, ou null pour obtenir les informations de format numérique de la culture actuelle.

Retours

Chaîne contenant la valeur de l'instance actuelle au format spécifié.

Implémente

Remarques

Ce struct représente la projection .NET du struct Windows Runtime (WinRT). RepeatBehavior Pour plus d’informations, consultez RepeatBehavior dans les informations de référence sur l’API UWP.

S’applique à