Modifica

Condividi tramite


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

Definition

Initializes a new ValueTuple<T1,T2> instance.

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

Parameters

item1
T1

The value tuple's first element.

item2
T2

The value tuple's second element.

Applies to