Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

CollectionUtils.IsEmpty(ICollection) Method

Determines whether the specified collection is null or empty.

[Visual Basic]
Public Overloads Shared Sub IsEmpty( _
   ByVal collection As ICollection _
)
[C#]
public static bool IsEmpty(
   ICollection collection
);

Parameters

collection
The collection to check.

Return Value

true if the specified collection is empty or null; otherwise, false.

See Also

CollectionUtils Class | Spring.Util Namespace | CollectionUtils.IsEmpty Overload List