Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Array Collection - Insert Method

Panel
bgColor#2c3c4c

Insert adds an item to a collection

Member of Array Collection (PRIM_ACOL)

...

Name

Type

Data Type

Description

Item

*Input

PRIM_OBJT

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))


See also

All Component Classes
Technical Reference