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

容器中给定位置的元素。

适用于