Tuple<T1>.ITuple.Length Tuple<T1>.ITuple.Length Tuple<T1>.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

属性值

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

实现

注解

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

适用于