Tuple<T1,T2,T3>.ITuple.Length Tuple<T1,T2,T3>.ITuple.Length Tuple<T1,T2,T3>.ITuple.Length Property

定义

获取 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; }
 ReadOnly Property Length As Integer Implements ITuple.Length

属性值

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.

适用于