PostSharp//API Reference/Post­Sharp.​Patterns.​Collections/Advisable­Collection<T>/Insert­Item
Open sandboxFocus

Method InsertItem

InsertItem(Int32, 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
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.