Edit

Share via


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

Definition

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

public: TRest Rest;
public TRest Rest;
val mutable Rest : 'Rest
Public Rest As TRest 

Field Value

TRest

Remarks

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.

Applies to