[]
        
(Showing Draft Content)

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

InsertItem Method

InsertItem(int, T)

Inserts an item into the collection at the specified index.

Declaration
protected override void InsertItem(int index, T item)
Protected Overrides Sub InsertItem(index As Integer, item As T)
Parameters
Type Name Description
int index

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

T item

The object to insert.

Overrides
Exceptions
Type Condition
InvalidOperationException

When the collection is locked.

ArgumentOutOfRangeException

When the index is beyond the size of collection.

ArgumentNullException

When the item is null.