Sorted Dictionary Collection - Insert Method

Insert adds an item to a collection

Member of Sorted Dictionary Collection (PRIM_SDCO)

Parameters

NameTypeData TypeDescription
Result*Result (Optional)PRIM_OBJTReference to the inserted object
Item*InputPRIM_OBJTInstance to be stored in the collection
Key*InputPRIM_OBJTKey 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)

See also

All Component Classes

Technical Reference

Febuary 18 V14SP2