Spread ASP.NET 18
FarPoint.Web.Chart Assembly / FarPoint.Web.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