ComponentOne Excel for .NET
C1.Excel Assembly / C1.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 System.Boolean
    public System.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