Determines whether the specified list contains any of the following values.
'Declaration
Public Shared Function ContainsAny(Of )( _
ByVal As System.Collections.Generic.List(Of T), _
ByVal ParamArray () As _
) As System.Boolean
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
.