Inserts an item into the collection at the specified index.
Namespace:
Tortuga.Anchor.Collections
Assembly:
Tortuga.Anchor (in Tortuga.Anchor.dll)
protected void InsertItem(
int index,
T item
)
Protected Sub InsertItem ( _
index As Integer, _
item As T _
)
Parameters
- index
- Type: Int32
The zero-based index at which item should be inserted.
- item
- Type: T
The object to insert.
Do NOT invoke this method directly. This may be overridden to provide additional validation before an item is added to the collection.