Skip to content

ReadOnlyObservableCollection.set

Andrei Fangli edited this page Jul 4, 2021 · 1 revision

Sets the provided item at the provided index.

This is a protected method.

protected set(index: number, item: TItem): void

Parameters

  • index: Number, the index to which to set the item.
  • item: TItem, the item to set.

Throws: RangeError

Thrown when the index is outside the bounds of the collection.

Clone this wiki locally