Tests if this collection is null or has 0 entries.

Namespace: NHINDirect
Assembly: nhinCommon (in nhinCommon.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#
public static bool IsNullOrEmpty(
	this ICollection collection
)
Visual Basic
<ExtensionAttribute> _
Public Shared Function IsNullOrEmpty ( _
	collection As ICollection _
) As Boolean
Visual C++
[ExtensionAttribute]
public:
static bool IsNullOrEmpty(
	ICollection^ collection
)

Parameters

collection
Type: System.Collections..::..ICollection
The collection to test.

Return Value

true if the collection is null or has 0 entries

See Also