Spread Windows Forms 13.0 Product Documentation
FarPoint.Win.Chart Assembly / FarPoint.Win.Chart Namespace / StringCollection Class / Contains Method
String value to locate in collection.


In This Topic
    Contains Method (StringCollection)
    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 StringCollection
    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