PostSharpAPI ReferencePost­Sharp.​Patterns.​CollectionsAdvisable­Collection<T>Insert­Item
Open sandboxFocus

Method InsertItem

InsertItem(Int32, T)

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

protected virtual void InsertItem(int index, T item)
Type Name Description
Int32 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.