Tuple<T1,T2,T3,T4>.ITuple.Length Propriété
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Obtient le nombre d’éléments dans 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
4, le nombre d’éléments dans un objet Tuple<T1,T2,T3,T4>.
La ITuple.Length propriété est une implémentation d’interface explicite. Pour l’appeler, vous devez effectuer un cast ou convertir l’objet Tuple<T1,T2,T3,T4> en objet d’interface ITuple .
Produit | Versions |
---|---|
.NET | Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7 |
.NET Framework | 4.7.1, 4.7.2, 4.8 |
.NET Standard | 2.1 |