Set Collection - Insert Method
Insert adds an item to a collection
Member of Set Collection (PRIM_SCOL)
Parameters
Name | Type | Data Type | Description |
|---|---|---|---|
Result | *Result (Optional) | Reference to the insert object | |
Item | *Input | Instance 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))