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

定义

返回表示此 ValueTuple<T1,T2,T3,T4,T5> 实例的值的字符串。Returns a string that represents the value of this ValueTuple<T1,T2,T3,T4,T5> 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,T5> 实例的字符串表示形式。The string representation of this ValueTuple<T1,T2,T3,T4,T5> instance.

注解

此方法返回的字符串采用格式 (Item1Item2Item3tuple.item4tuple.item5,其中 Item1Item2Item3tuple.item4tuple.item5 表示 Item1 、、、 Item2 Item3 Item4Item5 字段的值。The string returned by this method takes the form (Item1, Item2, Item3, Item4, Item5, where Item1, Item2, Item3, Item4, and Item5 represent the values of the Item1, Item2, Item3, Item4, and Item5 fields. 如果任何字段值为,则将 null 其表示为 String.EmptyIf any of the field values is null, it is represented as String.Empty.

适用于