Tuple..::..Create<(Of <(<'T1, T2>)>)> Method (T1, T2)
Creates a new 2-tuple, or pair.
Namespace:
SystemAssembly: Bridge (in Bridge.dll)
Syntax
[TemplateAttribute] public static Tuple<T1, T2> Create<T1, T2>( T1 item1, T2 item2 )
<TemplateAttribute> _ Public Shared Function Create(Of T1, T2) ( _ item1 As T1, _ item2 As T2 _ ) As Tuple(Of T1, T2)
[TemplateAttribute] public: generic<typename T1, typename T2> static Tuple<T1, T2>^ Create( T1 item1, T2 item2 )
Type Parameters
- T1
- The type of the first component of the tuple.
- T2
- The type of the second component of the tuple.
Parameters
- item1
- Type: T1
The value of the first component of the tuple.
- item2
- Type: T2
The value of the second component of the tuple.