[]
        
(Showing Draft Content)

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

SetItem Method

SetItem(int, T)

Replaces the element at the specified index.

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

The zero-based index of the element to replace.

T item

The new value for the element at the specified index.

Overrides
Exceptions
Type Condition
InvalidOperationException

When the collection is locked.

ArgumentOutOfRangeException

The assigned value of index is less than 0 -or- index is greater than Count.

ArgumentNullException

When the item is null.