Tuple<T1,T2,T3>.ITuple.Length 属性

定义

获取 Tuple 中的元素数。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

属性值

Int32

3,Tuple<T1,T2,T3> 对象中的元素数。3, the number of elements in a Tuple<T1,T2,T3> object.

实现

注解

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

适用于