Spread Windows Forms 17
GrapeCity.Win.PluginInputMan Assembly / GrapeCity.Win.Spread.InputMan.CellType Namespace / SubStyleCollection Class / Insert Method / Insert(Int32,String,Object) Method
The zero-based index at which the element should be inserted.
The key of the element to insert.
The value of the element to insert.


In This Topic
    Insert(Int32,String,Object) Method
    In This Topic
    Inserts an element with the specified key and value at the specified index of the BaseKeyCollection.
    Syntax
    'Declaration
     
    
    Protected Overloads Sub Insert( _
       ByVal index As Integer, _
       ByVal key As String, _
       ByVal value As Object _
    ) 
    'Usage
     
    
    Dim instance As SubStyleCollection
    Dim index As Integer
    Dim key As String
    Dim value As Object
     
    instance.Insert(index, key, value)
    protected void Insert( 
       int index,
       string key,
       object value
    )

    Parameters

    index
    The zero-based index at which the element should be inserted.
    key
    The key of the element to insert.
    value
    The value of the element to insert.
    See Also