Description
-
Removes all messages from the collection.
Return Type
-
None
Syntax
-
object.RemoveAll
The RemoveAll Method syntax has these parts:
object |
An expression evaluating to an object
of type ImapMessages. |
Remarks
- RemoveAll method will remove all messages from the
folder.
If current Message object represents part of another message,
then it will remove all parts from that particular message
(but from memory and from current session only!). You cannot
write such changes to disk using wodImapServer component.
To see the difference,
-
- Folder.RemoveAll will remove all
messages from the folder
-
- and
-
- Folder.Message(0).Parts.RemoveAll
will remove all parts from first message.
|