Click or drag to resize
MimeKit

MailFolderCount Property

Get the total number of messages in the folder.

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

Property Value

Type: Int32
The total number of messages.

Implements

IMailFolderCount
Remarks

Gets the total number of messages in the folder.

Note Note
This value will only be set after calling Status(StatusItems, CancellationToken) with Count or by opening the folder.
See Also