Tuple<T1,T2,T3>.ITuple.Length 属性
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取 Tuple
中的元素数。
property int System::Runtime::CompilerServices::ITuple::Length { int get(); };
C#
int System.Runtime.CompilerServices.ITuple.Length { get; }
member this.System.Runtime.CompilerServices.ITuple.Length : int
ReadOnly Property Length As Integer Implements ITuple.Length
3,Tuple<T1,T2,T3> 对象中的元素数。
该 ITuple.Length 属性是显式接口实现。 若要调用该对象,必须强制转换或将对象转换为Tuple<T1,T2,T3>ITuple接口对象。
产品 | 版本 |
---|---|
.NET | Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7 |
.NET Framework | 4.7.1, 4.7.2, 4.8 |
.NET Standard | 2.1 |