[]
        
(Showing Draft Content)

GrapeCity.Wpf.SpreadSheet.CellType.Editors.NotifyCollection-1.InsertItems

InsertItems Method

InsertItems(int, IEnumerable<T>)

Inserts some items into the collection at the specified index.

Declaration
protected virtual void InsertItems(int index, IEnumerable<T> value)
Protected Overridable Sub InsertItems(index As Integer, value As IEnumerable(Of T))
Parameters
Type Name Description
int index

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

IEnumerable<T> value

A IEnumerable<T> containing the objects to add to the collection.

Exceptions
Type Condition
ArgumentNullException

The assigned value is null.

InvalidOperationException

When the collection is locked.

ArgumentException

When the value contains null.