In This Topic
Determines whether the specified list contains any of the following values.
Syntax
'Declaration
Public Shared Function ContainsAny(Of )( _
ByVal As List(Of T), _
ByVal ParamArray () As _
) As Boolean
public static bool ContainsAny<>(
List<T> ,
params []
)
Parameters
- list
- The list.
- values
- The values.
Type Parameters
- T
Return Value
true
if the specified list contains any; otherwise, false
.
See Also