ValueTuple<T1>.ToString Metoda

Definicja

Zwraca ciąg reprezentujący wartość tego ValueTuple<T1> wystąpienia.

public override string ToString();

Zwraca

Reprezentacja ciągu tego ValueTuple<T1> wystąpienia.

Uwagi

Ciąg zwrócony przez tę metodę przyjmuje formularz (Item1, gdzie Item1 reprezentuje wartość Item1 pola. Jeśli wartość pola to null, jest reprezentowana jako String.Empty.

Dotyczy

Produkt Wersje
.NET Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10
.NET Framework 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0, 2.1