Excel for WPF | ComponentOne
C1.WPF.Excel Namespace / XLSheetCollection Class / Contains Method / Contains(XLSheet) Method
The object to look for in the collection.

In This Topic
    Contains(XLSheet) Method
    In This Topic
    Determines whether the collection contains a specific XLSheet object.
    Syntax
    'Declaration
     
    
    Public Overloads Function Contains( _
       ByVal sheet As XLSheet _
    ) As Boolean
    public bool Contains( 
       XLSheet sheet
    )

    Parameters

    sheet
    The object to look for in the collection.

    Return Value

    True if the collection contains the object; False otherwise.
    See Also