List Collection - InsertFirst Method

InsertFirst adds an item in the beginning of the collection

Member of List Collection (PRIM_LCOL)

Parameters

NameTypeData TypeDescription
Item*InputPRIM_OBJTInstance to be stored in the collection

Details

InsertFirst adds an item to a collection at the beginning.

Example

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

See also

All Component Classes

Technical Reference

Febuary 18 V14SP2