SVGListBase-1.ReplaceItem
SVGListBase.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>
 - namespace Aspose.Svg.Collections
 - assembly Aspose.SVG