語言

IDeque<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

該元件位於指定位置。

備註

欲了解更多資訊,請參閱 deque::operator(STL/CLR)。

適用於