语言

IDeque<TValue>.empty 方法

定义

测试容器是否不保存任何元素。

public:
 bool empty();
public bool empty();
abstract member empty : unit -> bool
Public Function empty () As Boolean

返回

true 如果容器为空,则为 ;否则,为 false.

注解

有关详细信息,请参阅 deque::empty (STL/CLR)。

适用于