Click or drag to resize
MimeKit

MailFolderUnread Property

Get the number of unread messages in the folder.

Namespace: MailKit
Assembly: MailKit (in MailKit.dll) Version: 4.7.1
Syntax
C#
public int Unread { get; protected set; }

Property Value

Int32
The number of unread messages.

Implements

IMailFolderUnread
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