Spread Windows Forms 15.0
FarPoint.Win.Chart Assembly / FarPoint.Win.Chart Namespace / StringCollectionItem Class / Contains Method
String value to locate in collection.


In This Topic
    Contains Method (StringCollectionItem)
    In This Topic
    Determines whether the collection contains a specific string value.
    Syntax
    'Declaration
     
    
    Public Function Contains( _
       ByVal item As String _
    ) As Boolean
    'Usage
     
    
    Dim instance As StringCollectionItem
    Dim item As String
    Dim value As Boolean
     
    value = instance.Contains(item)
    public bool Contains( 
       string item
    )

    Parameters

    item
    String value to locate in collection.

    Return Value

    true if string value is found in the collection; otherwise, false.
    See Also