ValueTuple<T1,T2,T3,T4>.ToString 方法

定義

傳回字串,表示這個 ValueTuple<T1,T2,T3,T4> 執行個體的值。Returns a string that represents the value of this ValueTuple<T1,T2,T3,T4> instance.

public:
 override System::String ^ ToString();
public override string ToString ();
override this.ToString : unit -> string
Public Overrides Function ToString () As String

傳回

String

這個 ValueTuple<T1,T2,T3,T4> 執行個體的字串表示。The string representation of this ValueTuple<T1,T2,T3,T4> instance.

備註

這個方法所傳回的字串會採用 (Item1Item2Item3tuple.item4的格式,其中 Item1Item2Item3tuple.item4 代表 Item1Item2Item3Item4 欄位的值。The string returned by this method takes the form (Item1, Item2, Item3, Item4, where Item1, Item2, Item3, and Item4 represent the values of the Item1, Item2, Item3, and Item4 fields. 如果有任何域值是,則會以 null 表示 String.EmptyIf any of the field values is null, it is represented as String.Empty.

適用於