The Flag type exposes the following members.

Constructors

  NameDescription
Public methodFlag
Creates new instance of the Flag object with specified name.

Methods

  NameDescription
Public methodEquals(Object)
Determines whether the specified object is equal to the current object.
(Overrides Object..::..Equals(Object).)
Public methodEquals(Flag)
Determines whether the specified Flag object is equal to the current one. Names are compared case insensitive.
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Overrides Object..::..GetHashCode()()()().)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns FullName property.
(Overrides Object..::..ToString()()()().)

Operators

  NameDescription
Public operatorStatic memberEquality
Checks is two Flag objects are same.
Public operatorStatic memberInequality
Checks is two Flag objects are different.

Fields

  NameDescription
Public fieldStatic memberAll
All messages in the mailbox.
Public fieldStatic memberAnswered
Messages with the \Answered flag set.
Public fieldStatic memberDeleted
Messages with the \Deleted flag set.
Public fieldStatic memberDraft
Messages with the \Draft flag set.
Public fieldStatic memberFlagged
Messages with the \Flagged flag set.
Public fieldStatic memberNew
Messages that have the \Recent flag set but not the \Seen flag. This is functionally equivalent to "(RECENT UNSEEN)".
Public fieldStatic memberOld
Messages that do not have the \Recent flag set. This is functionally equivalent to "NOT RECENT" (as opposed to "NOT NEW").
Public fieldStatic memberRecent
Messages that have the \Recent flag set.
Public fieldStatic memberSeen
Messages that have the \Seen flag set.
Public fieldStatic memberUnanswered
Messages that do not have the \Answered flag set.
Public fieldStatic memberUndeleted
Messages that do not have the \Deleted flag set.
Public fieldStatic memberUndraft
Messages that do not have the \Draft flag set.
Public fieldStatic memberUnflagged
Messages that do not have the \Flagged flag set.
Public fieldStatic memberUnseen
Messages that do not have the \Seen flag set.

Properties

  NameDescription
Public propertyFullName
Gets the full name of this flag. This property includes backslash for system flags E.g. \SEEN, \UNFLAGGED, MYFLAG.
Public propertyIsSystemFlag
Gets information if this is a system flag. All system flags begin with "\" character.
Public propertyName
Get the name of this flag. E.g. SEEN, UNFLAGGED.

See Also