|FolderCollectionReverse Method |
Reverses the order of the list of the folders that are stored in the collection.
MailBee.NET (in MailBee.NET.dll) Version: 12.2.0 build 630 for .NET 4.5
For instance, this method can be used to optimize deleting of folders with their subfolders. Because
it's not usually permitted to delete a folder which contains subfolders, these subfolders must be removed first.
However, mail servers usually place subfolders after their parent folders in the returned folder list. Thus,
it's more efficient to iterate through this collection in descending order, removing subfolders first and their parent folders last.
topic for the sample code.