IVector<TValue>.Item[Int32] 属性

定义

访问容器中指定位置的元素。Accesses an element at a specified position in the container.

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

要访问的元素的位置。The position of the element to access.

属性值

TValue

_Pos 位置处的元素。The element at position _Pos.

注解

有关详细信息,请参阅vector:: operator (STL/CLR)For more information, see vector::operator(STL/CLR).

适用于