ValueTuple<T1,T2,T3,T4,T5,T6,T7,TRest>.ToString ValueTuple<T1,T2,T3,T4,T5,T6,T7,TRest>.ToString ValueTuple<T1,T2,T3,T4,T5,T6,T7,TRest>.ToString ValueTuple<T1,T2,T3,T4,T5,T6,T7,TRest>.ToString Method

定义

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

注解

此方法返回字符串的形式 (Item1Item2Item3Item4Item5Item6Item7Item8...),其中Item1Item2Item3Item4Item5Item6,并Item7表示值Item1Item2Item3Item4Item5Item6,和Item7字段。The string returned by this method takes the form (Item1, Item2, Item3, Item4, Item5, Item6, Item7, Item8…), where Item1, Item2, Item3, Item4, Item5, Item6, and Item7 represent the values of the Item1, Item2, Item3, Item4, Item5, Item6, and Item7 fields. Item8表示的值ValueTuple<T1,T2,T3,T4,T5,T6,T7,TRest>实例的Next.Item1字段。Item8 represents the value of the ValueTuple<T1,T2,T3,T4,T5,T6,T7,TRest> instance's Next.Item1 field. 任何其他嵌套的元素的值遵循以下Item8The value of any additional nested elements follows Item8. 如果任何字段值为null,它表示为String.EmptyIf any of the field values is null, it is represented as String.Empty.

适用于