ImapMessageFlags

ImapMessageFlags class

Represents the flags associated with the message.

public class ImapMessageFlags : IEquatable<ImapMessageFlags>

Properties

Name Description
static Answered { get; } Message has been answered.
static Deleted { get; } Message is “deleted” for removal by later EXPUNGE.
static Draft { get; } Message has been marked as a draft.
static Empty { get; } Flags are not set
static Flagged { get; } Message is “flagged” for urgent/special attention.
static IsRead { get; } Message has been read.
static Recent { get; } Message is “recently” arrived in this mailbox.

Methods

Name Description
static BitwiseAnd(ImapMessageFlags, ImapMessageFlags) Implements the operator &.
static BitwiseOr(ImapMessageFlags, ImapMessageFlags) Implements the operator |.
static BitwiseOr(ImapMessageFlags, string) Implements the operator |.
static BitwiseOr(string, ImapMessageFlags) Implements the operator |.
static Keyword(string) Message has been marked by custom flag.
virtual Equals(ImapMessageFlags) Determines whether the specified object is equal to the current object.
override Equals(object) Determines whether the specified Object is equal to this instance.
override GetHashCode() Returns a hash code for this instance.
HasFlag(ImapMessageFlags) Returns true if “who” contains the “flag”
IsEmpty() Determines whether this instance is empty.
Split() Split to Array.
override ToString() Returns a String that represents this instance.
operator & Implements the operator &.
operator | Implements the operator |. (3 operators)
operator == Implements the operator ==.
implicit operator Performs an implicit conversion from Int64 to ImapMessageFlags.
operator != Implements the operator !=.

See Also