IList<TValue>.empty 方法

定义

测试容器是否没有元素。

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

返回

true 如果容器没有元素,则为否则,为 false.

注解

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

适用于