'Declaration
<ExtensionAttribute()> Public Shared Function ContainsAny(Of T)( _ ByVal list As List(Of T), _ ByVal ParamArray values() As T _ ) As Boolean
'Usage
Dim list As List(Of T) Dim values() As T Dim value As Boolean value = Extensions.ContainsAny(Of T)(list, values)
Parameters
- list
- The list.
- values
- The values.
Type Parameters
- T
Return Value
true
if the specified list contains any; otherwise, false
.