Spread Windows Forms 15.0
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / FpScrollBarButtonCollection Class / Insert Method
The zero-based index at which value should be inserted
The System.Object to insert into the System.Collections.IList


In This Topic
    Insert Method (FpScrollBarButtonCollection)
    In This Topic
    Inserts an item to the System.Collections.IList at the specified index.
    Syntax
    'Declaration
     
    
    Public Sub Insert( _
       ByVal index As Integer, _
       ByVal value As Object _
    ) 
    'Usage
     
    
    Dim instance As FpScrollBarButtonCollection
    Dim index As Integer
    Dim value As Object
     
    instance.Insert(index, value)
    public void Insert( 
       int index,
       object value
    )

    Parameters

    index
    The zero-based index at which value should be inserted
    value
    The System.Object to insert into the System.Collections.IList
    Exceptions
    ExceptionDescription
    index is not a valid index in the System.Collections.IList.
    The System.Collections.IList is read-only.-or- The System.Collections.IList has a fixed size.
    value is null reference in the System.Collections.IList.
    See Also