IVector<TValue>.at(Int32) 方法

定义

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

public:
 TValue % at(int _Pos);
public TValue at (int _Pos);
abstract member at : int -> 
Public Function at (_Pos As Integer) As TValue

参数

_Pos
Int32

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

返回

TValue@

受控序列中 _Pos 位置处的元素。The element of the controlled sequence at position _Pos.

注解

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

适用于