The Flag type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| Flag |
Creates new instance of the Flag object with specified name.
|
Methods
| Name | Description | |
|---|---|---|
| Equals(Object) |
Determines whether the specified object is equal to the current object.
(Overrides Object..::..Equals(Object).) | |
| Equals(Flag) |
Determines whether the specified Flag object is equal to the current one.
Names are compared case insensitive.
| |
| Finalize |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) | |
| GetHashCode |
Serves as a hash function for a particular type.
(Overrides Object..::..GetHashCode()()()().) | |
| GetType |
Gets the Type of the current instance.
(Inherited from Object.) | |
| MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
| ToString |
Returns FullName property.
(Overrides Object..::..ToString()()()().) |
Operators
| Name | Description | |
|---|---|---|
| Equality |
Checks is two Flag objects are same.
| |
| Inequality |
Checks is two Flag objects are different.
|
Fields
| Name | Description | |
|---|---|---|
| All |
All messages in the mailbox.
| |
| Answered |
Messages with the \Answered flag set.
| |
| Deleted |
Messages with the \Deleted flag set.
| |
| Draft |
Messages with the \Draft flag set.
| |
| Flagged |
Messages with the \Flagged flag set.
| |
| New |
Messages that have the \Recent flag set but not the \Seen flag. This is functionally equivalent to "(RECENT UNSEEN)".
| |
| Old |
Messages that do not have the \Recent flag set. This is functionally equivalent to "NOT RECENT" (as opposed to "NOT NEW").
| |
| Recent |
Messages that have the \Recent flag set.
| |
| Seen |
Messages that have the \Seen flag set.
| |
| Unanswered |
Messages that do not have the \Answered flag set.
| |
| Undeleted |
Messages that do not have the \Deleted flag set.
| |
| Undraft |
Messages that do not have the \Draft flag set.
| |
| Unflagged |
Messages that do not have the \Flagged flag set.
| |
| Unseen |
Messages that do not have the \Seen flag set.
|
Properties
| Name | Description | |
|---|---|---|
| FullName |
Gets the full name of this flag. This property includes backslash for system flags E.g. \SEEN, \UNFLAGGED, MYFLAG.
| |
| IsSystemFlag |
Gets information if this is a system flag.
All system flags begin with "\" character.
| |
| Name |
Get the name of this flag. E.g. SEEN, UNFLAGGED.
|