Spread Windows Forms 8.0 Product Documentation
Insert Method (CollectionBase<T>)


The zero-based index where the specified object should be inserted.
The T to insert.
Inserts the specified T into the collection at the specified index.
Syntax
'Declaration
 
Public Sub Insert( _
   ByVal index As Integer, _
   ByVal value As T _
) 
'Usage
 
Dim instance As CollectionBase(Of T)
Dim index As Integer
Dim value As T
 
instance.Insert(index, value)
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

Reference

CollectionBase<T> Class
CollectionBase<T> Members

 

 


Copyright © GrapeCity, inc. All rights reserved.