ValueTuple<T1,T2>.ITuple.Length Proprietà

Definizione

Ottiene il numero di elementi in 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

Valore della proprietà

Int32

2, il numero di elementi in un oggetto ValueTuple<T1,T2>.

Implementazioni

Commenti

La ValueTuple<T1,T2>.ITuple.Length proprietà è un'implementazione esplicita dell'interfaccia. Per chiamarlo, è necessario eseguire il cast o convertire l'oggetto ValueTuple<T1,T2> in un ITuple oggetto interfaccia.

Si applica a