ValueTuple<T1,T2,T3,T4>.ITuple.Length 屬性

定義

取得 ValueTuple 中的項目數目。

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

屬性值

4,ValueTuple<T1,T2,T3,T4> 物件中的項目數目。

實作

備註

屬性 ValueTuple<T1,T2,T3,T4>.ITuple.Length 是明確的介面實作。 若要呼叫它,您必須轉換或將物件 ITuple 轉換成 ValueTuple<T1,T2,T3,T4> 介面物件。

適用於