Description

All members of the Engine.Images collection are removed from the collection.

Return Type

None  

Syntax

object.RemoveAll

The RemoveAll Method syntax has these parts:

PartDescription
objectAn expression evaluating to an object of type McImages.

Remarks

Notify clients have an opportunity to prevent the removal of any image from the collection (see the Remove method). Furthermore, the image will actually be destroyed only when all references to its McImage instance have been released.

If all members are allowed to be removed by all notify clients, then the Count property will be zero after this call. To see if all images have been fully released, you can call Engine.McObjects.GetCategoryCount for the “McImage” category, with the ParentMcObject set to Engine.McObject(Engine.Images). This Count will be zero when all images have been finally released.