Spread ASP.NET 17
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread Namespace / GroupInfoCollection Class / Insert Method
Zero-based index at which to insert the GroupInfo object
GroupInfo object to insert into the collection
Example


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

    Parameters

    index
    Zero-based index at which to insert the GroupInfo object
    value
    GroupInfo object to insert into the collection
    Exceptions
    ExceptionDescription
    Specified index is out of range; must be between 0 and the total number in the collection
    No style specified or specified style is null; must specify a style
    Example
    This example inserts a group item into the collection at the specified location.
    See Also