Set Collection - Insert Method

Insert adds an item to a collection

Member of Set Collection (PRIM_SCOL)

Parameters

NameTypeData TypeDescription
Result*Result (Optional)PRIM_OBJTReference to the insert object
Item*InputPRIM_OBJTInstance to be stored in the collection

Details

Insert adds an item to a collection.
 
The item will be added at the end.

Example

Inserting an existing reference into a collection.
#Collection.Insert(#Object)
Inserting a new button instance into a collection.
#Collection.Insert((*New #Prim_phbn))

See also

All Component Classes

Technical Reference

Febuary 18 V14SP2