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

位於 _Pos 的項目。

備註

如需詳細資訊,請參閱 vector::operator (STL/CLR)

適用於