ComponentOne Excel for UWP
C1.UWP.Excel Assembly / C1.Xaml.Excel Namespace / XLSheetCollection Class / Contains Method / Contains(String) Method
The name of the sheet to look for (case-insensitive).

In This Topic
    Contains(String) Method
    In This Topic
    Determines whether the collection contains an XLSheet object with a given name.
    Syntax
    'Declaration
     
    Public Overloads Function Contains( _
       ByVal sheetName As System.String _
    ) As System.Boolean
    public System.bool Contains( 
       System.string sheetName
    )

    Parameters

    sheetName
    The name of the sheet to look for (case-insensitive).

    Return Value

    True if the collection contains an XLSheet with the given sheetName; False otherwise.
    See Also