OzTupleCreateT1, T2 Method (T1, T2) |
Creates a new 2-tuple, or pair.
Namespace: Ozeki.CommonAssembly: OzekiSDK (in OzekiSDK.dll) Version: 1.8.12.0 (1.8.12)
Syntax public static OzTuple<T1, T2> Create<T1, T2>(
T1 item1,
T2 item2
)
Public Shared Function Create(Of T1, T2) (
item1 As T1,
item2 As T2
) As OzTuple(Of T1, T2)
public:
generic<typename T1, typename T2>
static OzTuple<T1, T2>^ Create(
T1 item1,
T2 item2
)
static member Create :
item1 : 'T1 *
item2 : 'T2 -> OzTuple<'T1, 'T2>
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.
Type Parameters
- T1
- The type of the first component of the tuple.
- T2
- The type of the second component of the tuple.
Return Value
Type:
OzTupleT1,
T2A 2-tuple whose value is (item1, item2).
See Also