ValueTuple<T1,T2,T3,T4>.ToString Method

Definition

返回表示此 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

Returns

String

ValueTuple<T1,T2,T3,T4> 实例的字符串表示形式。The string representation of this ValueTuple<T1,T2,T3,T4> instance.

Remarks

此方法返回的字符串采用格式(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.

Applies to