Sorted Dictionary Collection - Insert Method
Insert adds an item to a collection
Member of Sorted Dictionary Collection (PRIM_SDCO)
Parameters
Name |
Type |
Data Type |
Description |
Result |
*Result (Optional) |
Reference to the inserted object |
|
Item |
*Input |
Instance to be stored in the collection |
|
Key |
*Input |
Key used to access the collection item |
Details
Insert adds an item to a collection.
Example
Inserting an existing reference into a collection specifiying the key to be used to access it.
#Collection.Insert(#Object #Object2)
Inserting a new button instance into a collection specifiying the key to be used to access it.
#Collection.Insert((*New #Prim_phbn) #Object)