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

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

Property Value

Type: Int32
The number of unread items in the folder, or -1 if the value is not available.
Remarks
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