Spread WPF Documentation
Add Method (ExcelWorksheetCollection)


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
System.ArgumentNullExceptionworksheet is a null reference (Nothing in Visual Basic)
Requirements

Target Platforms: Windows 7, Windows 8 Desktop, Windows Vista SP1 or later, Windows Server 2000, Windows 2000 Professional (SP4), Windows XP (SP2), Windows 2008, Windows 2003 Server (SP1)

See Also

Reference

ExcelWorksheetCollection Class
ExcelWorksheetCollection Members

 

 


Copyright © GrapeCity, inc. All rights reserved.