Click or drag to resize
MimeKit

IMailFolderUnread Property

Get the number of unread messages in the folder.

Namespace:  MailKit
Assembly:  MailKit (in MailKit.dll) Version: 3.0.0
Syntax
C#
int Unread { get; }

Property Value

Type: Int32
The number of unread messages.
Remarks

Gets the number of unread messages in the folder.

Note Note
This value will only be set after calling Status(StatusItems, CancellationToken) with Unread.
See Also