IDL Programming > Objects > Miscellaneous Object Classes > IDL_Container::Remove

IDL_Container::Remove

Syntax | Arguments | Keywords | Version History

The IDL_Container::Remove procedure method removes an object from the container.

Syntax

Obj->[IDL_Container::]Remove [, Child_object] [, POSITION=index] [, /ALL]

Arguments

Child_object

An object reference or array of object references for the objects to be removed from the container. If Child_object is not provided (and neither the ALL nor POSITION keyword are set), the first object in the container will be removed. If Child_object is !NULL then nothing is removed and the method quietly returns.

Keywords

ALL

Set this keyword to remove all objects from the container. If this keyword is set, the Child_object argument is not required.

POSITION

Set this keyword equal to the zero-based index of the object to be removed. If the Child_object argument is supplied, this keyword is ignored.

Version History

5.0

Introduced

8.2

Allow !NULL as an input argument