Spread WinRT Documentation
GrapeCity.Excel Namespace / ExcelWorksheetCollection Class / Add Method
The IExcelWorksheet will be added to the collection


In This Topic
    Add Method (ExcelWorksheetCollection)
    In This Topic
    Adds an IExcelWorksheet to the end of the ExcelWorksheetCollection.
    Syntax
    'Declaration
     
    Public Sub Add( _
       ByVal worksheet As IExcelWorksheet _
    ) 
    'Usage
     
    Dim instance As ExcelWorksheetCollection
    Dim worksheet As IExcelWorksheet
     
    instance.Add(worksheet)
    public void Add( 
       IExcelWorksheet worksheet
    )

    Parameters

    worksheet
    The IExcelWorksheet will be added to the collection
    Exceptions
    ExceptionDescription
    worksheet is a null reference (Nothing in Visual Basic)
    See Also