[This is preliminary documentation and is subject to change.]

Determines whether the collection is null or empty.

Namespace:  Facebook.Json.Utilities
Assembly:  Facebook (in Facebook.dll) Version: 0.2009.3.23 (0.2009.3.23)

Syntax

C#
public static bool IsNullOrEmpty<T>(
	ICollection<T> collection
)
Visual Basic (Declaration)
Public Shared Function IsNullOrEmpty(Of T) ( _
	collection As ICollection(Of T) _
) As Boolean
Visual C++
public:
generic<typename T>
static bool IsNullOrEmpty(
	ICollection<T>^ collection
)

Parameters

collection
Type: System.Collections.Generic..::.ICollection<(Of <(T>)>)
The collection.

Type Parameters

T

[Missing <typeparam name="T"/> documentation for "M:Facebook.Json.Utilities.CollectionUtils.IsNullOrEmpty``1(System.Collections.Generic.ICollection{``0})"]

Return Value

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

See Also

CollectionUtils Class
IsNullOrEmpty Overload
Facebook.Json.Utilities Namespace