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

定義

取得 ValueTuple 中的項目數目。Gets the number of elements in the ValueTuple.

property int System::Runtime::CompilerServices::ITuple::Length { int get(); };
int System.Runtime.CompilerServices.ITuple.Length { get; }
 ReadOnly Property Length As Integer Implements ITuple.Length

屬性值

5,ValueTuple<T1,T2,T3,T4,T5> 物件中的項目數目。5, the number of elements in a ValueTuple<T1,T2,T3,T4,T5> object.

實作

備註

ValueTuple<T1,T2,T3,T4,T5>.ITuple.Length屬性是明確介面實作。The ValueTuple<T1,T2,T3,T4,T5>.ITuple.Length property is an explicit interface implementation. 若要呼叫它,您必須決定要轉型或轉換ValueTuple<T1,T2,T3,T4,T5>物件至ITuple介面物件。To call it, you must cast or convert the ValueTuple<T1,T2,T3,T4,T5> object to an ITuple interface object.

適用於