語言

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 到 中元素數 Tuple少一個 。

屬性值

指定元素的 Tuple 值。

適用於