Color.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 ^ provider) = IFormattable::ToString;
string IFormattable.ToString (string format, IFormatProvider provider);
abstract member System.IFormattable.ToString : string * IFormatProvider -> string
override this.System.IFormattable.ToString : string * IFormatProvider -> string
Function ToString (format As String, provider As IFormatProvider) As String Implements IFormattable.ToString

Parametry

format
String

Ciąg określający format do użycia. -or - null używać domyślnego formatu zdefiniowanego dla typu implementacji IFormattable.

provider
IFormatProvider

Obiekt, który dostarcza informacje dotyczące formatowania tego wystąpienia lub null uzyskiwania informacji o formacie liczbowym z bieżącej kultury.

Zwraca

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

Implementuje

Uwagi

Ta struktura reprezentuje projekcję platformy .NET struktury środowisko wykonawcze systemu Windows (WinRT). Color Aby uzyskać więcej informacji, zobacz Color in the UWP API reference ( Kolor w dokumentacji interfejsu API platformy UWP).

Dotyczy