The IDL_Container::Add procedure method adds one or more child objects to the container.
Obj->[IDL_Container::]Add, Objects [POSITION=index]
An object instance or array of object instances to be added to the container object.
Set this keyword equal to a scalar or array of zero-based index values. The number of elements specified must be equal to the number of object references specified by the Objects argument. Each index value specifies the position within the container at which a new object should be placed. The default is to add new objects at the end of the list of contained items.
If the container has three objects, a new object will be placed at the fourth position. Since positions begin at zero, this would be equivalent to setting POSITION=3.
5.0 |
Introduced |