CImageSet:Remove
The Remove method removes a CImage from the CImageSet by matching the CImage object to set members.
member = CImageSet:Remove( CImage ) |
This method finds the member in the list by searching the CImageSet to match the CImage object by value. On success, the CImage argument and the returned member should be equal.
Removing the member decreases the list Count by 1 member.
Suppose a CImageSet exists with name S and that it contains 10 CImage objects. The following script fragment removes from the list the CImage I:
|
-- result: count=10 |
|
-- remove the CImage I |
|
-- result: count=9 |