ValueTuple<T1,T2,T3,T4,T5,T6>.ITuple.Length 属性

定义

获取 ValueTuple 中的元素数。Gets the number of elements in the ValueTuple.

property int System::Runtime::CompilerServices::ITuple::Length { int get(); };
int System.Runtime.CompilerServices.ITuple.Length { get; }
 ReadOnly Property Length As Integer Implements ITuple.Length

属性值

6,ValueTuple<T1,T2,T3,T4,T5,T6> 对象中的元素数。6, the number of elements in a ValueTuple<T1,T2,T3,T4,T5,T6> object.

实现

注解

ValueTuple<T1,T2,T3,T4,T5,T6>.ITuple.Length属性是显式接口实现。The ValueTuple<T1,T2,T3,T4,T5,T6>.ITuple.Length property is an explicit interface implementation. 若要调用该ValueTuple<T1,T2,T3,T4,T5,T6>对象, 必须将对象强制转换或转换ITuple为接口对象。To call it, you must cast or convert the ValueTuple<T1,T2,T3,T4,T5,T6> object to an ITuple interface object.

适用于