Determines whether the specified list contains any of the following values.
'Declaration
<System.Runtime.CompilerServices.ExtensionAttribute()>
Public Shared Function ContainsAny(Of )( _
ByVal As System.Collections.Generic.List(Of T), _
ByVal ParamArray () As _
) As System.Boolean
'Usage
Dim list As System.Collections.Generic.List(Of T)
Dim values() As
Dim value As System.Boolean
value = Extensions.ContainsAny(Of T)(list, values)
[System.Runtime.CompilerServices.Extension()]
public static System.bool ContainsAny<>(
System.Collections.Generic.List<T> ,
params []
)
Parameters
- list
- The list.
- values
- The values.
Type Parameters
- T
Return Value
true
if the specified list contains any; otherwise, false
.