Spread Silverlight Documentation
Add Method (ExcelWorksheetCollection)


GrapeCity.Excel Namespace > ExcelWorksheetCollection Class : Add Method
The IExcelWorksheet will be added to the collection
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

Reference

ExcelWorksheetCollection Class
ExcelWorksheetCollection Members