Spread Windows Forms 9.0 Product Documentation
Insert Method (BaseKeyCollection)


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.
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.
Requirements

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

See Also

Reference

BaseKeyCollection Class
BaseKeyCollection Members

 

 


Copyright © GrapeCity, inc. All rights reserved.