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

定義

初始化新的 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)

參數

item1
T1 T1 T1 T1

值元組的第一個元素。The value tuple's first element.

item2
T2 T2 T2 T2

值元組的第二個元素。The value tuple's second element.

item3
T3 T3 T3 T3

值元組的第三個元素。The value tuple's third element.

item4
T4 T4 T4 T4

值元組的第四個元素。The value tuple's fourth element.

適用於