Search
WorksheetCollection.Insert Method (Int32, String)
See Also
 






Creates a new Worksheet object with the specified name and adds it at the specified index within the collection. If a worksheet with the specified name already exists, an exception is thrown.

Namespace: MindFusion.Spreadsheet.Wpf
Assembly: MindFusion.Spreadsheet.Wpf

 Syntax

C#  Copy Code

public Worksheet Insert (
    int index,
    string name
)

Visual Basic  Copy Code

Public Function Insert( _
    index As Integer, _
    name As String _
) As Worksheet

 Parameters

index

The zero-based index where the new worksheet should be added.

name

The name of the new worksheet.

 Return Value

The newly created Worksheet object.

 See Also