setItem Method
Summary
Replaces the element at the specified index.
Syntax
JavaScript Syntax
AnnBatesElementCollection.prototype.setItem = function(
index,
item
)
TypeScript Syntax
setItem(
index: number,
item: IAnnBatesElement
): void; // protected
Parameters
index
The zero-based index of the element to replace.
item
The new value for the element at the specified index.