RepeatBehavior.IFormattable.ToString(String, IFormatProvider) Metoda

Definicja

Aby uzyskać opis tego członka, zobacz 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

Parametry

format
String

Ciąg określający format do użycia lub format domyślny zdefiniowany null dla typu IFormattable implementacji.

formatProvider
IFormatProvider

Obiekt, który dostarcza informacje o formatowaniu wartości lub uzyskać null informacje o formacie liczbowym z bieżącej kultury.

Zwraca

String

Ciąg zawierający wartość bieżącego wystąpienia w określonym formacie.

Implementuje

Uwagi

Ta struktura reprezentuje projekcję .NET struktury Windows Runtime RepeatBehavior (WinRT). Aby uzyskać więcej informacji, zobacz repeatBehavior w interfejsie API platformy uniwersalnej systemu Windows.

Dotyczy