Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ValueTuple<T1, T2, T3, T4, T5, T6, T7, TRest>::Rest Field

 

Gets the current ValueTuple<T1, T2, T3, T4, T5, T6, T7, TRest> instance's remaining elements.

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

public:
TRest Rest

Field Value

Type: TRest

The value of the current ValueTuple<T1, T2, T3, T4, T5, T6, T7, TRest> instance's remaining elements.

The Rest field returns a nested value tuple that allows access to the eighth though nth elements of the tuple. Depending on the total number of elements in the tuple, the values of the eighth through fourteenth components can be retrieved from the nested value tuple's Item1 through Item7 properties. You can then use the Rest property of a nested ValueTuple<T1, T2, T3, T4, T5, T6, T7, TRest> object to retrieve the value tuple at the next level of nesting.

.NET Framework
Available since 4.7
Return to top
Show:
© 2017 Microsoft