Type Definition CollChangeInfo

This type definition provides detailed information on the type of changes made to the collection.

Type Description

CollItemAdded

The item was added to the collection using the Add method.

To get the index of the new item, use ChangedItemIndex.

CollItemMoved

The item was moved within the collection using MoveItem

To get the old and the new index of the moved item, use GetMovedIndex.

CollItemPreRemove

To get the current index of the item before removing it from the collection, use ChangedItemIndex.

You can access the item within this event, see also CollItemRemoved below.

CollItemPreReset

This type is set before the collection is reset by the Clear, see also CollItemReset below.

CollItemRemoved

The item was removed from the collection.

To get the index of the removed item, use ChangedItemIndex.

It is impossible to access the item by this index, because it has already been removed. See also CollItemPreRemove above.

CollItemRenamed

The item was renamed using the Rename method.

To get the index of the renamed item, use ChangedItemIndex.

To get the old and the new name of the renamed item, use GetRenameInfo.

CollItemReset

Collection was reset using the Clear method.

References to all items have been released.

The Count property has been set to 0