OzTupleCreateT1, T2(T1, T2) Method |
Creates a new 2-tuple, or pair.
Namespace: Ozeki.CommonAssembly: OzekiSDK (in OzekiSDK.dll) Version: 10.4.54.0
Syntaxpublic 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 T1
- The value of the first component of the tuple.
- item2 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
OzTupleT1,
T2A 2-tuple whose value is (item1, item2).
See Also