ValueTuple<T1,T2,T3,T4,T5,T6,T7,TRest>.ITuple.Length Property

Definition

Gets the number of elements in the ValueTuple.

int System.Runtime.CompilerServices.ITuple.Length { get; }

Property Value

The number of elements in the ValueTuple.

Implements

Remarks

The ValueTuple<T1,T2,T3,T4,T5,T6,T7,TRest>.ITuple.Length property is an explicit interface implementation. To call it, you must cast or convert the ValueTuple<T1,T2,T3,T4,T5,T6,T7,TRest> object to an ITuple interface object.

Applies to

Produto Versões
.NET Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9
.NET Framework 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.1