Spread Windows Forms 7.0 Product Documentation
Insert Method
See Also  Support Options
GrapeCity.Win.PluginInputMan Assembly > GrapeCity.Win.Spread.InputMan.CellType Namespace > BaseKeyCollection Class : Insert Method


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.

Glossary Item Box

Inserts an element with the specified key and value at the specified index of the BaseKeyCollection.

Syntax

Visual Basic (Declaration) 
Protected Sub Insert( _
   ByVal index As Integer, _
   ByVal key As String, _
   ByVal value As Object _
) 
Visual Basic (Usage)Copy Code
Dim instance As BaseKeyCollection
Dim index As Integer
Dim key As String
Dim value As Object
 
instance.Insert(index, key, value)
C# 
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.

Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8

See Also

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.