IMail 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#
int FirstUnread { get; }Property Value
Int32The index of the first unread message or -1 if there are no unread messages in the folder.
Remarks
Gets the index of the first unread message in the folder.