Tuple(T1) Constructor
Collapse the table of content
Expand the table of content

Tuple(Of T1) Constructor

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Initializes a new instance of the Tuple(Of T1) class.

Namespace:  System
Assembly:  mscorlib (in mscorlib.dll)

'Declaration
Public Sub New ( _
	item1 As T1 _
)

Parameters

item1
Type: T1
The value of the tuple's only component.

You can also use the static Tuple.Create method to instantiate a 1-tuple object without having to explicitly specify the type of its component. The following example uses the Create method to instantiate a 1-tuple whose component is of type Int32.

This is equivalent to the following call to the Tuple(Of T1) class constructor.

Windows Phone OS

Supported in: 8.1, 8.0

Show:
© 2017 Microsoft