| 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
)
<ExtensionAttribute>
Public Shared Function IsNullOrEmpty (
me As IEnumerable
) As Boolean
public:
[ExtensionAttribute]
static bool IsNullOrEmpty(
IEnumerable^ me
)
[<ExtensionAttribute>]
static member IsNullOrEmpty :
me : IEnumerable -> bool
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