ObservableCollectionExtended<(Of <(<'T>)>)>..::..InsertItem Method

Inserts an item into the collection at the specified index.

Namespace:  Tortuga.Anchor.Collections
Assembly:  Tortuga.Anchor (in Tortuga.Anchor.dll)

Syntax


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.

Remarks


Do NOT invoke this method directly. This may be overridden to provide additional validation before an item is added to the collection.