Język

VectorCollection.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

String Określanie formatu do użycia.

— lub —

null (Nothing w Visual Basic) w celu użycia domyślnego formatu zdefiniowanego dla typu implementacji IFormattable.

provider
IFormatProvider

Element IFormatProvider do formatowania wartości.

— lub —

null (Nothing w Visual Basic), aby uzyskać informacje o formacie liczbowym z bieżącego ustawienia ustawień regionalnych systemu operacyjnego.

Zwraca

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

Implementuje

Uwagi

Ten element członkowski jest jawną implementacją składową interfejsu. Można go używać tylko wtedy, gdy VectorCollection wystąpienie jest rzutowanie do interfejsu IFormattable .

Dotyczy