Spread ASP.NET 17
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread Namespace / SheetViewCollection Class / AddRange Method
Collection of sheets
Example


In This Topic
    AddRange Method (SheetViewCollection)
    In This Topic
    Adds a range of sheets to the collection.
    Syntax
    'Declaration
     
    
    Public Sub AddRange( _
       ByVal c As ICollection _
    ) 
    'Usage
     
    
    Dim instance As SheetViewCollection
    Dim c As ICollection
     
    instance.AddRange(c)
    public void AddRange( 
       ICollection c
    )

    Parameters

    c
    Collection of sheets
    Remarks

    To add a single sheet to the collection, use the Add method.

    For more information about the ICollection, interface refer to the Microsoft .NET Framework Reference.

    Example
    This example creates two sheets and adds them to the collection of sheets together so that the total number of sheets now equals three (which includes the one that is added by default and the two added to the collection).
    See Also