Spread Windows Forms 12.0 Product Documentation
Add(IWorkbook) Method


GrapeCity.Spreadsheet Assembly > GrapeCity.Spreadsheet Namespace > IWorkbooks Interface > Add Method : Add(IWorkbook) Method
Adds an existed workbook into the workbook set.
Syntax
'Declaration
 
Overloads Function Add( _
   ByVal workbook As IWorkbook _
) As Boolean
'Usage
 
Dim instance As IWorkbooks
Dim workbook As IWorkbook
Dim value As Boolean
 
value = instance.Add(workbook)
bool Add( 
   IWorkbook workbook
)

Parameters

workbook

Return Value

true if the workbook is added into current workbook set; otherwise, false.
Remarks
The workbook must not belong to any other workbook set and its name must be unique.
See Also

Reference

IWorkbooks Interface
IWorkbooks Members
Overload List