Spread Windows Forms 15.0
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / SheetViewCollection Class / Insert Method
Zero-based index at which to insert the sheet
Sheet (SheetView object) to insert into the collection


In This Topic
    Insert Method (SheetViewCollection)
    In This Topic
    Inserts a sheet into the collection at the specified index.
    Syntax
    'Declaration
     
    
    Public Overridable Sub Insert( _
       ByVal index As Integer, _
       ByVal sheetView As SheetView _
    ) 
    'Usage
     
    
    Dim instance As SheetViewCollection
    Dim index As Integer
    Dim sheetView As SheetView
     
    instance.Insert(index, sheetView)
    public virtual void Insert( 
       int index,
       SheetView sheetView
    )

    Parameters

    index
    Zero-based index at which to insert the sheet
    sheetView
    Sheet (SheetView object) to insert into the collection
    Exceptions
    ExceptionDescription
    Sheet is not specified (that is, specified sheet is null)
    See Also