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


index
The zero-based index where the specified object should be inserted.
value
The T to insert.

Glossary Item Box

Inserts the specified T into the collection at the specified index.

Syntax

Visual Basic (Declaration) 
Public Sub Insert( _
   ByVal index As Integer, _
   ByVal value As T _
) 
Visual Basic (Usage)Copy Code
Dim instance As CollectionBase(Of T)
Dim index As Integer
Dim value As T
 
instance.Insert(index, value)
C# 
public void Insert( 
   int index,
   T value
)

Parameters

index
The zero-based index where the specified object should be inserted.
value
The T 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.