Spread WPF Documentation
Insert Method (WorksheetCollection)


GrapeCity.Windows.SpreadSheet.Data Namespace > WorksheetCollection Class : Insert Method
The index at which to add the sheet.
The Worksheet object to add.
Inserts the specified sheet at the specified index in the collection.
Syntax
'Declaration
 
Public Overrides Sub Insert( _
   ByVal index As System.Integer, _
   ByVal worksheet As Worksheet _
) 
'Usage
 
Dim instance As WorksheetCollection
Dim index As System.Integer
Dim worksheet As Worksheet
 
instance.Insert(index, worksheet)
public override void Insert( 
   System.int index,
   Worksheet worksheet
)

Parameters

index
The index at which to add the sheet.
worksheet
The Worksheet object to add.
See Also

Reference

WorksheetCollection Class
WorksheetCollection Members