Miner.Responder.Shared.Extensions Namespace > EnumerableExtensions Class > IsNullOrEmpty Method : IsNullOrEmpty(IEnumerable) Method |
'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 )
true
if null
or no items in the collection.false
otherwiseTarget 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