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.item5Tuple.item6, 其中Item1Item2Item3tuple.item4tuple.item5Tuple.item6 Item1表示、Item2 、、Item6 、和字段的值。 Item3 Item4 Item5The 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.EmptyIf any of the field values is null, it is represented as String.Empty.

适用于