ITuple.Item[Int32] 属性

定义

返回指定 Tuple 元素的值。

public:
 property System::Object ^ default[int] { System::Object ^ get(int index); };
public object? this[int index] { get; }
public object this[int index] { get; }
member this.Item(int) : obj
Default Public ReadOnly Property Item(index As Integer) As Object

参数

index
Int32

指定 Tuple 元素的索引。 index的范围为 0 到Item1Tuple小于中元素数的 Tuple0。

属性值

指定 Tuple 元素的值。

适用于