DeleteFromMailbox Method
Marks the messages specified by MessageSet as deleted.
Syntax
public void DeleteFromMailbox();
Public Sub DeleteFromMailbox()
Remarks
This method marks the messages specified by MessageSet as deleted. Calling this method is equivalent to calling AddMessageFlags with "\Deleted" as the Flags parameter.
.NET Standard Notes
To call this method in an asynchronous manner call DeleteFromMailboxAsync instead. When the method completes (or an error is encountered) the DeleteFromMailboxCompleted event will fire.