ValueTuple<T1,T2,T3,T4>.ITuple.Length Property

Definition

获取 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; }
member this.System.Runtime.CompilerServices.ITuple.Length : int
 ReadOnly Property Length As Integer Implements ITuple.Length

Property Value

Int32

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

Implements

Remarks

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

Applies to