IMailFolderDeletedCount Property

Get the number of messages in the folder that are marked for deletion.

Definition

Namespace: MailKit
Assembly: MailKit (in MailKit.dll) Version: 5.0.0
C#
int? DeletedCount { get; }

Property Value

NullableInt32
The number of messages marked for deletion.

Remarks

Gets the number of messages in the folder that have the Deleted flag set.

  Note

If the value is not set, then the number of deleted messages is unknown. This value is only set when the folder's status is queried using Deleted.

See Also