Redigera

Dela via


Tuple<T1,T2>.ITuple.Length Property

Definition

Gets the number of elements in the 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

Property Value

2, the number of elements in a Tuple<T1,T2> object.

Implements

Remarks

The ITuple.Length property is an explicit interface implementation. To call it, you must cast or convert the Tuple<T1,T2> object to an ITuple interface object.

Applies to