The SearchCondition type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() | SearchCondition | Initializes a new instance of the SearchCondition class |
Methods
Name | Description | |
---|---|---|
![]() ![]() | All |
Finds all messages in the mailbox.
|
![]() | And |
Logically ANDs multiple search conditions, meaning a message will only be included in the
search result if both of the ANDed conditions are met.
|
![]() ![]() | Answered |
Finds messages that have the \Answered flag set.
|
![]() ![]() | BCC |
Finds messages that contain the specified string in the envelope structure's BCC field.
|
![]() ![]() | Before |
Finds messages whose internal date (disregarding time and timezone) is earlier than the
specified date.
|
![]() ![]() | Body |
Finds messages that contain the specified string in the body of the message.
|
![]() ![]() | Cc |
Finds messages that contain the specified string in the envelope structure's CC field.
|
![]() ![]() | Deleted |
Finds messages that have the \Deleted flag set.
|
![]() ![]() | Draft |
Finds messages that have the \Draft flag set.
|
![]() | Equals | (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() ![]() | Flagged |
Finds messages that have the \Flagged flag set.
|
![]() ![]() | From |
Finds messages that contain the specified string in the envelope structure's FROM field.
|
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() ![]() | GreaterThan |
Finds messages with a unique identifier greater than the specified unique identifier.
|
![]() ![]() | Header |
Finds messages that have a header with the specified field-name and that contains the
specified string in the text of the header.
|
![]() ![]() | Keyword |
Finds messages with the specified keyword flag set.
|
![]() ![]() | Larger |
Finds messages with a size larger than the specified number of bytes.
|
![]() ![]() | LessThan |
Finds messages with a unique identifier less than the specified unique identifier.
|
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() ![]() | New |
Finds messages that have the \Recent flag set but not the \Seen flag.
|
![]() | Not |
Logically negates search conditions, meaning a message will only be included in the search
result if the specified conditions are not met.
|
![]() ![]() | Old |
Finds messages that do not have the \Recent flag set.
|
![]() | Or |
Logically ORs multiple search conditions, meaning a message will be included in the search
result if it meets at least either of the conditions.
|
![]() ![]() | Recent |
Finds messages that have the \Recent flag set.
|
![]() ![]() | Seen |
Finds messages that have the \Seen flag set.
|
![]() ![]() | SentBefore |
Finds messages whose Date: header (disregarding time and timezone) is earlier than the
specified date.
|
![]() ![]() | SentOn |
Finds messages whose Date: header (disregarding time and timezone) is within the specified
date.
|
![]() ![]() | SentSince |
Finds messages whose Date: header (disregarding time and timezone) is within or later than
the specified date.
|
![]() ![]() | Smaller |
Finds messages with a size smaller than the specified number of bytes.
|
![]() ![]() | Subject |
Finds messages that contain the specified string in the envelope structure's SUBJECT field.
|
![]() ![]() | Text |
Finds messages that contain the specified string in the header or body of the message.
|
![]() ![]() | To |
Finds messages that contain the specified string in the envelope structure's TO field.
|
![]() | ToString |
Constructs a string from the SearchCondition object using the proper syntax as is required
for the IMAP SEARCH command.
(Overrides Object..::..ToString()()()().) |
![]() ![]() | UID |
Finds messages with unique identifiers corresponding to the specified unique identifier set.
|
![]() ![]() | Unanswered |
Finds messages that do not have the \Answered flag set.
|
![]() ![]() | Undeleted |
Finds messages that do not have the \Deleted flag set.
|
![]() ![]() | Undraft |
Finds messages that do not have the \Draft flag set.
|
![]() ![]() | Unflagged |
Finds messages that do not have the \Flagged flag set.
|
![]() ![]() | Unkeyword |
Finds messages that do not have the specified keyword flag set.
|
![]() ![]() | Unseen |
Finds messages that do not have the \Seen flag set.
|