The IDL_Container::Move procedure method moves an item from one position in a container to a new position. The order of the other items in the container remains unchanged.

Tip: For object graphics, the position of objects within the container controls their rendering order. IDL first renders the object whose location has the lowest index value. If several objects are located at the same point in three-dimensional space, the object rendered first will occlude objects rendered later. Objects located “behind” other objects in three-dimensional space must be rendered before objects in front of them, even if the “front” objects are translucent.

Syntax


Obj->[IDL_Container::]Move, Source, Destination

Arguments


Source

The zero-based position of the item to be moved.

Destination

The zero-based position where the item will reside after being moved.

Keywords


None.

Version History


5.0

Introduced

8.4 Add support for pointers within containers

See Also


IDL_Container::Add, IDL_Container::Count, IDL_Container::Equals, IDL_Container::Get, IDL_Container::IsContained, IDL_Container::Remove