PostSharpAPI ReferencePost­Sharp.​Patterns.​CollectionsAdvisable­Keyed­Collection<TKey, TItem>Insert­Item
Open sandboxFocus

AdvisableKeyedCollection<TKey, TItem>.InsertItem Method

InsertItem(Int32, 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
Int32 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
PostSharp.Patterns.Collections.AdvisableCollection<TItem>.InsertItem(System.Int32, TItem)