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

Method InsertItems

InsertItems(Int32, T[])

Inserts elements into the underlying collection at the specified index.

Declaration
protected virtual void InsertItems(int index, T[] collection)
Parameters
Type Name Description
Int32 index

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

T[] collection

The list of objects to insert. The values in the list can be null for reference types.