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

Constructor. Creates a pair which references two objects.
Public Sub New( _ 
ByVal t1 As T1, _ 
ByVal t2 As T2 _ 
)
This language is not supported or no code example is available.
public Pair( 
T1 t1
T2 t2 
)
This language is not supported or no code example is available.
public:  
Pair( 
T1^ t1
T2^ t2 
)
This language is not supported or no code example is available.
public function Pair( 
t1 : T1
t2 : T2 
);
This language is not supported or no code example is available.

Parameters

t1
T1

The first object of the pair.

t2
T2

The second object of the pair.

.NET Framework

Supported in: 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8

In this article

Definition