Removes a subfolder within this collection.
| C# | Visual Basic |
public void Remove( EmailMessageFolder subfolder )
Public Sub Remove ( _ subfolder As EmailMessageFolder _ )
- subfolder (EmailMessageFolder)
- sub-folder to be deleted
If this folder collection represents the Deleted Items folder the specified subfolder is permanently deleted, otherwise it is moved to the Deleted Items folder.