ValueTuple<T1,T2,T3,T4>.ITuple.Length ValueTuple<T1,T2,T3,T4>.ITuple.Length ValueTuple<T1,T2,T3,T4>.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

屬性值

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

實作

備註

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

適用於