ValueTuple<T1,T2,T3,T4>(T1, T2, T3, T4) Constructor

Definition

初始化一个新 ValueTuple<T1,T2,T3,T4> 实例。Initializes a new ValueTuple<T1,T2,T3,T4> instance.

public:
 ValueTuple(T1 item1, T2 item2, T3 item3, T4 item4);
public ValueTuple (T1 item1, T2 item2, T3 item3, T4 item4);
new ValueTuple<'T1, 'T2, 'T3, 'T4> : 'T1 * 'T2 * 'T3 * 'T4 -> ValueTuple<'T1, 'T2, 'T3, 'T4>
Public Sub New (item1 As T1, item2 As T2, item3 As T3, item4 As T4)

Parameters

item1
T1

值元组的第 1 个元素。The value tuple's first element.

item2
T2

值元组的第 2 个元素。The value tuple's second element.

item3
T3

值元组的第 3 个元素。The value tuple's third element.

item4
T4

值元组的第 4 个元素。The value tuple's fourth element.

Applies to