The ImapSearchParameter type exposes the following members.
Methods
Name | Description | |
---|---|---|
And |
Multiple criteria combined using the AND operator - only messages that match all the criteria are matched.
| |
Arrived(DateTime) |
Messages that arrived on the specified date (disregarding time).
| |
Arrived(DateTime, DateTime) |
Messages that arrived in the specified date interval (disregarding time).
| |
Bcc |
Messages that contain the specified string in its Bcc field.
| |
Body |
Messages that contain the specified string in its body.
| |
CC |
Messages that contain the specified string in its CC field.
| |
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
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.) | |
From |
Messages that contain the specified string in its From field.
| |
FullText |
Messages that contain the specified string in its headers or body.
| |
GetHashCode | Serves as a hash function for a particular type. GetHashCode()()()() is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
HasFlagsAllOf |
Messages with all the specified flags set.
| |
HasFlagsNoneOf |
Messages with none of the specified flags set.
| |
Header |
Messages that contain the specified string in the specified header.
| |
Keyword |
Messages with the specified keyword flag set.
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
MessageSet |
Messages which belong to a specified message set.
| |
Not |
Only match messages that don't match the specified criteria.
| |
NotBcc |
Messages that do not contain the specified string in its Bcc field.
| |
NotCC |
Messages that do not contain the specified string in its CC field.
| |
NotFrom |
Messages that do not contain the specified string in its From field.
| |
NotKeyword |
Messages that do not have the specified keyword flag set.
| |
NotTo |
Messages that do not contain the specified string in its To field.
| |
Or |
Multiple criteria combined using the OR operator - messages that match any of the criteria are matched.
| |
Sent(DateTime) |
Messages that were sent on the specified date (disregarding time).
| |
Sent(DateTime, DateTime) |
Messages that were sent in the specified date interval (disregarding time).
| |
Size |
Messages with a size within the specified interval.
| |
Subject |
Messages that contain the specified string in its Subject field.
| |
To |
Messages that contain the specified string in its To field.
| |
ToString |
Returns a string representing this IMAP search criterion.
(Overrides Object..::..ToString()()()().) |
Properties
Name | Description | |
---|---|---|
All |
All messages.
| |
Deleted |
Messages that have the Deleted flag set.
| |
ChildCount |
Gets a count of the child nodes.
| |
Item |
Gets a child node at the specified index.
| |
Name |
Gets a name (keyword of the search criteria) of the current leaf node. Calling on the inner node returns null (Nothing in VB.NET).
| |
New | ||
NotRecent |
Messages that don't have the Recent flag set.
| |
NotSeen | ||
Recent |
Messages that have the Recent flag set.
| |
Type |
Gets a type of the current node.
| |
Unread | ||
Value |
Gets a value (argument of the search criteria) of the current leaf node. Calling on the inner node returns null (Nothing in VB.NET).
|