Hunny Software Library Reference

FlagsData Class

Class that contains the data of an IMAP4 FLAGS list.

For a list of all members of this type, see FlagsData Members.

System.Object
   FlagsData

[Visual Basic]
Public Class FlagsData
[C#]
public class FlagsData

Remarks

FlagsData is a class that contains the data of an IMAP4 FLAGS data item.

An IMAP4 FETCH response may optionally contain a FLAGS data item, which reports the flags that are set for the specified message. The flags that are specified in IMAP4rev1 include \Seen, \Answered, \Flagged, \Deleted, \Draft, and \Recent.

To check if a flag is set, call the HasFlag method and supply the name of the flag as the argument. To iterate over all flags that are present, get the NumFlags property to learn how many flags are present, then call the Flag method to get the name of each flag in the list.

Requirements

Namespace: Hunny.Mail

Assembly: Hunny.Mail (in Hunny.Mail.dll)

See Also

FlagsData Members | Hunny.Mail Namespace | Imap4Client.Store method | Imap4Client.Fetch method | Imap4Client.UidStore method | Imap4Client.UidFetch method | FetchResponse | FETCH response in the IMAP4 specification