GrapeCity.Xaml.Excel
Insert Method (ExcelWorksheetCollection)


the zero based index at which item should be inserted.
The IExcelWorksheet will be added to the collection
Add an IExcelWorksheet instance at the specified index
Syntax
'Declaration
 
Public Sub Insert( _
   ByVal index As Integer, _
   ByVal worksheet As IExcelWorksheet _
) 
'Usage
 
Dim instance As ExcelWorksheetCollection
Dim index As Integer
Dim worksheet As IExcelWorksheet
 
instance.Insert(index, worksheet)
public void Insert( 
   int index,
   IExcelWorksheet worksheet
)

Parameters

index
the zero based index at which item should be inserted.
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 Server 2012, Windows RT

See Also

Reference

ExcelWorksheetCollection Class
ExcelWorksheetCollection Members

 

 


Copyright © GrapeCity, inc. All rights reserved.

Support Options