語言

ContainerRandomAccessIterator<TValue>.Item[Int32] 屬性

定義

存取容器中指定位置的元素。

public:
 property TValue default[int] { TValue get(int _Pos); void set(int _Pos, TValue value); };
public TValue this[int _Pos] { get; set; }
member this.Item(int) : 'Value with get, set
Default Public Property Item(_Pos As Integer) As TValue

參數

_Pos
Int32

元素的位置。

屬性值

TValue

容器中指定位置的元素。

適用於