replaceItem method

Replaces a specified existing item in the list with a specified new item.

 

Syntax

 retVal = object.replaceItem(newItem, index);

Parameters

  • newItem [in]
    The item to insert into the list.

  • index [in]
    Type: long

    The index of the item to replace. The first item is number 0.

Standards information