Visual Basic (Declaration) | |
---|---|
Public Overloads Shared Function Create (Of T1,T2)( _ ByVal item1 As T1, _ ByVal item2 As T2 _ ) As Tuple(Of T1,T2) |
Visual Basic (Usage) | ![]() |
---|---|
Dim item1 As T1 Dim item2 As T2 Dim value As Tuple(Of T1,T2) value = Tuple.Create(Of T1, T2)(item1, item2) |
C++/CLI | |
---|---|
public: static Tuple<T1^,T2^>^ Creategeneric<typename T1> generic<typename T2> ( T1^ item1, T2^ item2 ) |
Parameters
- item1
- item2
Type Parameters
- T1
- T2
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2