C1.Silverlight Namespace > Extensions Class : ContainsAny<T> Method |
'Declaration
<System.Runtime.CompilerServices.ExtensionAttribute()> Public Shared Function ContainsAny(Of T)( _ ByVal list As System.Collections.Generic.List(Of T), _ ByVal ParamArray values() As T _ ) As System.Boolean
'Usage
Dim list As System.Collections.Generic.List(Of T) Dim values() As T Dim value As System.Boolean value = Extensions.ContainsAny(Of T)(list, values)
true
if the specified list contains any; otherwise, false
.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