Int32Rect.IFormattable.ToString(String, IFormatProvider) Metoda

Definicja

Formatuje wartość bieżącego wystąpienia przy użyciu określonego formatu.

 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

Format do użycia.

provider
IFormatProvider

Dostawca, który ma służyć do formatowania wartości.

Zwraca

Wartość bieżącego wystąpienia w określonym formacie.

Implementuje

Uwagi

Ten element jest jawną implementacją członków. Można go używać tylko wtedy, gdy Int32Rect wystąpienie jest rzutowe do interfejsu IFormattable .

Dotyczy