ComponentOne FinancialChart for WPF
C1.WPF Namespace / Extensions Class / ContainsAny<T> Method



In This Topic
    ContainsAny<T> Method
    In This Topic
    Syntax
    '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)
    [Extension()]
    public static bool ContainsAny<T>( 
       List<T> list,
       params T[] values
    )
    [Extension()]
    public:
    static bool ContainsAnygeneric<typename T>
    ( 
       List<T^>^ list,
       ... array<T^>^ values
    ) 

    Parameters

    list
    values

    Type Parameters

    T
    See Also