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

定義

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

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

傳回

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

備註

這個方法所傳回的字串會採用下列格式:Item1Item2Item3Tuple.item4tuple.item5Item6、where Item1Item2Item3、tuple.item4、 tuple.item5Item6 Item1代表、Item5、、、和Item6欄位的值。 Item4 Item3 Item2The string returned by this method takes the form (Item1, Item2, Item3, Item4, Item5, Item6, where Item1, Item2, Item3, Item4, Item5, and Item6 represent the values of the Item1, Item2, Item3, Item4, Item5, and Item6 fields. 如果有任何域值是null, 則會以String.Empty表示。If any of the field values is null, it is represented as String.Empty.

適用於