ValueTuple<T1,T2>.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

プロパティ値

Int32

ValueTuple<T1,T2> オブジェクト内の要素数、2。

実装

注釈

プロパティは ValueTuple<T1,T2>.ITuple.Length 、明示的なインターフェイスの実装です。 これを呼び出すには、オブジェクトを ValueTuple<T1,T2> キャストするか、インターフェイス オブジェクトに変換する ITuple 必要があります。

適用対象