Open sandboxFocus

Method InsertItem

InsertItem(int, T)

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

Declaration
protected virtual void InsertItem(int index, T item)
Parameters
Type Name Description
int index

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

T item

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

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.