3.92 TrashEntry

A Trash entry.

3.92.1 Properties

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.

3.92.2 Methods

Delete()

Removes this TrashEntry object from its owning TrashEntries collection and deletes this object.

Undelete()

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.

3.92.3 Remarks

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.