Tuple<T1,T2,T3,T4,T5,T6>.ITuple.Length 屬性

定義

取得 Tuple 中的項目數目。

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

屬性值

Int32

6,Tuple<T1,T2,T3,T4,T5,T6> 物件中的項目數目。

實作

備註

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

適用於