Spread Windows Forms 15.0
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / ListBase<T> Class / Contains Method
The object to locate in the ListBase<T>.


In This Topic
    Contains Method (ListBase<T>)
    In This Topic
    Determines whether the ListBase<T> contains a specific value.
    Syntax
    'Declaration
     
    
    Public Function Contains( _
       ByVal item As T _
    ) As Boolean
    'Usage
     
    
    Dim instance As ListBase(Of T)
    Dim item As T
    Dim value As Boolean
     
    value = instance.Contains(item)
    public bool Contains( 
       T item
    )

    Parameters

    item
    The object to locate in the ListBase<T>.

    Return Value

    true if item is found in the ListBase<T>; otherwise, false.
    See Also