Spread Windows Forms 15.0
GrapeCity.Win.PluginInputMan Assembly / GrapeCity.Win.Spread.InputMan.CellType Namespace / BaseKeyCollection Class / Insert 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 Method (BaseKeyCollection)
    In This Topic
    Inserts an element with the specified key and value at the specified index of the BaseKeyCollection.
    Syntax
    'Declaration
     
    
    Protected Sub Insert( _
       ByVal index As Integer, _
       ByVal key As String, _
       ByVal value As Object _
    ) 
    'Usage
     
    
    Dim instance As BaseKeyCollection
    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