IVector<TValue>.back 方法

定义

访问容器的最后一个元素。Accesses the last element of the container.

public:
 TValue % back();
public TValue back ();
abstract member back : unit -> 
Public Function back () As TValue

返回

TValue@

受控序列中的最后一个元素,该元素必须为非空元素。The last element of the controlled sequence, which must be non-empty.

注解

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

适用于