A Trash entry.
The following table lists properties along with their access and descriptions.
Property |
Access |
Description |
---|---|---|
Application |
R/O |
Application. The Application object. |
Folder |
R/O |
Folder. The original folder that contained this item. |
Message |
R/O |
Message. The Message object for this item. |
Parent |
R/O |
TrashEntries. The TrashEntries collection that owns this object. |
Removes this TrashEntry object from its owning TrashEntries collection and deletes this object.
Removes this TrashEntry object from its owning TrashEntries collection, deletes this object, and moves its Message object back to the folders from which it was deleted. If the folders that contained it no longer exist, the Message object is placed into the Cabinet folder.
A TrashEntry object is automatically created when a message is deleted from a folder. A TrashEntry object is automatically deleted if the message is moved back to a folder from which it was deleted.