Replace the instance at the specified position with a different object
Member of List Collection (PRIM_LCOL)
|Result||*Result (Optional)||PRIM_OBJT||Reference to the object that was replaced|
|Item||*Input||PRIM_OBJT||Item to be replaced|
|Index||*Input||Integer||Position of item to be replaced|
ReplaceAt replaces the item at the specified index. Attempting to replace an item that does not exist will result in a run time error.
Replacing the 4th item in the collection.
#ReplacedItem <= #Collection.ReplaceAt(#Object 4)
All Component Classes
Febuary 18 V14SP2