DevForce Help Reference
InsertItem Method


The zero-based index at which item should be inserted.
The object to insert. The value can be null for reference types.
Inserts an element into the Collection at the specified index.
Syntax
'Declaration
 
Protected Overrides Sub InsertItem( _
   ByVal index As Integer, _
   ByVal item As EntityKey _
) 
'Usage
 
Dim instance As EntityKeyList
Dim index As Integer
Dim item As EntityKey
 
instance.InsertItem(index, item)
protected override void InsertItem( 
   int index,
   EntityKey item
)

Parameters

index
The zero-based index at which item should be inserted.
item
The object to insert. The value can be null for reference types.
Exceptions
ExceptionDescription
System.ArgumentOutOfRangeExceptionindex is less than zero.-or-index is greater than Count.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

EntityKeyList Class
EntityKeyList Members

Send Feedback