ComponentOne Basic Library for UWP
C1.UWP Assembly / C1.Xaml Namespace / Extensions Class / ContainsAny<T> Method
The list.
The values.

In This Topic
    ContainsAny<T> Method
    In This Topic
    Determines whether the specified list contains any of the following values.
    Syntax
    'Declaration
     
    Public Shared Function ContainsAny(Of T)( _
       ByVal list As System.Collections.Generic.List(Of T), _
       ByVal ParamArray values() As T _
    ) As System.Boolean
    public static System.bool ContainsAny<T>( 
       System.Collections.Generic.List<T> list,
       params T[] values
    )

    Parameters

    list
    The list.
    values
    The values.

    Type Parameters

    T

    Return Value

    true if the specified list contains any; otherwise, false.
    See Also