Mail FolderFirst Unread Property
Get the index of the first unread message in the folder.
Definition
Namespace: MailKit
Assembly: MailKit (in MailKit.dll) Version: 5.0.0
The index of the first unread message or -1 if there are no unread messages in the folder.
Assembly: MailKit (in MailKit.dll) Version: 5.0.0
C#
public int FirstUnread { get; protected set; }Property Value
Int32The index of the first unread message or -1 if there are no unread messages in the folder.
Implements
IMailFolderFirstUnreadRemarks
Gets the index of the first unread message in the folder.