SVGListBase-1.ReplaceItem
SVGListBase<T>.ReplaceItem method
Replaces an existing item in the list with a new item.
public T ReplaceItem(T newItem, ulong index)
Parameter | Type | Description |
---|---|---|
newItem | T | The item which is to be inserted into the list. |
index | UInt64 | The index of the item which is to be replaced. The first item is number 0. |
Return Value
The inserted item.
Exceptions
exception | condition |
---|---|
dOMException | Code NO_MODIFICATION_ALLOWED_ERR . Raised when the list cannot be modified. |
dOMException | Code INDEX_SIZE_ERR . Raised if the index number is greater than or equal to numberOfItems. |
See Also
- class SVGListBase<T>
- package com.aspose.html.Dom.Svg.Collections
- package Aspose.HTML