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

属性值

4,ValueTuple<T1,T2,T3,T4> 对象中的元素数。

实现

注解

属性 ValueTuple<T1,T2,T3,T4>.ITuple.Length 是显式接口实现。 若要调用它,必须将 对象 ValueTuple<T1,T2,T3,T4> 强制转换或转换为 ITuple 接口对象。

适用于