DoubleCollection.IFormattable.ToString(String, IFormatProvider) Metoda

Definicja

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

Określenie String formatu do użycia.

-lub- null(Nothing w Visual Basic) do używania domyślnego formatu zdefiniowanego dla typu implementacjiIFormattable.

provider
IFormatProvider

Element IFormatProvider , który ma być używany do formatowania wartości.

-lub- null(Nothing w Visual Basic) w celu uzyskania informacji o formacie liczbowym z bieżącego ustawienia regionalnego systemu operacyjnego.

Zwraca

String

Element String zawierający 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 DoubleCollection wystąpienie jest rzutowanie do interfejsu IFormattable .

Dotyczy