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: 4.7.1
Syntax
C#
int Unread { get; }

Property Value

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