編輯

共用方式為


ValueTuple<T1,T2>.ITuple.Length Property

Definition

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

Property Value

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

Implements

Remarks

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

Applies to