EwsFolderUnreadCount Property
Gets the number of unread items in the folder.

Namespace: MailBee.EwsMail
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 12.2.0 build 630 for .NET 4.5
public int UnreadCount { get; }

Property Value

Type: Int32
The number of unread items in the folder, or -1 if the value is not available.
You may get the value of -1 when acccessing this property in case if you downloaded folders using custom FolderView which didn't request this property from the server.
See Also