ValueTuple<T1,T2>(T1, T2) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new ValueTuple<T1,T2> instance.
public:
ValueTuple(T1 item1, T2 item2);
public ValueTuple (T1 item1, T2 item2);
new ValueTuple<'T1, 'T2> : 'T1 * 'T2 -> ValueTuple<'T1, 'T2>
Public Sub New (item1 As T1, item2 As T2)
Parameters
- item1
- T1
The value tuple's first element.
- item2
- T2
The value tuple's second element.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.