CollectionConstraint.IsEmpty(IEnumerable) 方法

定义

确定指定的可枚举是否为空。

protected static bool IsEmpty (System.Collections.IEnumerable enumerable);
static member IsEmpty : System.Collections.IEnumerable -> bool

参数

enumerable
IEnumerable

可枚举的 。

返回

true 如果指定的可枚举为空,则为 ;否则为 false

适用于