Open sandboxFocus

Method InsertItem

InsertItem(int, TItem)

Inserts an element into the underlying collection at the specified index.

Declaration
protected override void InsertItem(int index, TItem item)
Parameters
Type Name Description
int index

The zero-based index at which item should be inserted.

TItem item

The object to insert. The value can be null for reference types.

Overrides
Remarks

note

This method does not cause the advices to be executed. It should be invoked only from inside the scope of the ExecuteWithAdvices method.