Click or drag to resize

ExtensionMethodsIsNullOrEmpty Method

Returns true if the IList is null or has no elements

Namespace:  SanteDB
Assembly:  SanteDB.Core.Model (in SanteDB.Core.Model.dll) Version: 3.0.481-alpha
Syntax
public static bool IsNullOrEmpty(
	this IEnumerable me
)

Parameters

me
Type: System.CollectionsIEnumerable

[Missing <param name="me"/> documentation for "M:SanteDB.ExtensionMethods.IsNullOrEmpty(System.Collections.IEnumerable)"]

Return Value

Type: Boolean

[Missing <returns> documentation for "M:SanteDB.ExtensionMethods.IsNullOrEmpty(System.Collections.IEnumerable)"]

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IEnumerable. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also