FolderAttributes Enumeration

Folder attributes as used by Attributes.

Definition

Namespace: MailKit
Assembly: MailKit (in MailKit.dll) Version: 5.0.0
C#
[FlagsAttribute]
public enum FolderAttributes

Remarks

Folder attributes as used by Attributes.

Members

None 0 The folder does not have any attributes.
NoInferiors 1 It is not possible for any subfolders to exist under the folder.
NoSelect 2 It is not possible to select the folder.
Marked 4 The folder has been marked as possibly containing new messages since the folder was last selected.
Unmarked 8 The folder does not contain any new messages since the folder was last selected.
NonExistent 16 The folder does not exist, but is simply a place-holder.
Subscribed 32 The folder is subscribed.
Remote 64 The folder is remote.
HasChildren 128 The folder has subfolders.
HasNoChildren 256 The folder does not have any subfolders.
All 512 The folder is a special "All" folder containing an aggregate of all messages.
Archive 1,024 The folder is a special "Archive" folder.
Drafts 2,048 The folder is the special "Drafts" folder.
Flagged 4,096 The folder is the special "Flagged" folder.
Important 8,192 The folder is the special "Important" folder.
Inbox 16,384 The folder is the special "Inbox" folder.
Junk 32,768 The folder is the special "Junk" folder.
Sent 65,536 The folder is the special "Sent" folder.
Trash 131,072 The folder is the special "Trash" folder.

See Also

Reference