ArcFM Responder Mobile Developer Guide
IsNullOrEmpty(IEnumerable) Method






Collection to check
Checks if a System.Collections.IEnumerable is either null or contains no items
Syntax
'Declaration
 
<System.Runtime.CompilerServices.ExtensionAttribute()>
Public Overloads Shared Function IsNullOrEmpty( _
   ByVal items As System.Collections.IEnumerable _
) As System.Boolean
'Usage
 
Dim items As System.Collections.IEnumerable
Dim value As System.Boolean
 
value = EnumerableExtensions.IsNullOrEmpty(items)
[System.Runtime.CompilerServices.Extension()]
public static System.bool IsNullOrEmpty( 
   System.Collections.IEnumerable items
)
public function IsNullOrEmpty( 
    items: System.Collections.IEnumerable
): System.Boolean; static; 
System.Runtime.CompilerServices.ExtensionAttribute()
public static function IsNullOrEmpty( 
   items : System.Collections.IEnumerable
) : System.boolean;
[System.Runtime.CompilerServices.Extension()]
public: static System.bool IsNullOrEmpty( 
   System.Collections.IEnumerable* items
) 
[System.Runtime.CompilerServices.Extension()]
public:
static System.bool IsNullOrEmpty( 
   System.Collections.IEnumerable^ items
) 

Parameters

items
Collection to check

Return Value

true if null or no items in the collection.false otherwise
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

EnumerableExtensions Class
EnumerableExtensions Members
Overload List

Send Feedback