List Collection - InsertFirst Method

InsertFirst adds an item in the beginning of the collection

Member of List Collection (PRIM_LCOL)

Parameters

Name

Type

Data Type

Description

Item

*Input

PRIM_OBJT

Instance 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