Search |
public class SearchQuery
The SearchQuery type exposes the following members.
Name | Description | |
---|---|---|
SearchQuery | Initializes a new instance of the SearchQuery class. | |
SearchQuery(SearchTerm) | Initializes a new instance of the SearchQuery class. |
Name | Description | |
---|---|---|
And(SearchQuery) | Create a conditional AND operation. | |
And(SearchQuery, SearchQuery) | Create a conditional AND operation. | |
AnnotationsContain | Match messages with the specified annotation. | |
BccContains | Match messages where the Bcc header contains the specified text. | |
BodyContains | Match messages where the message body contains the specified text. | |
CcContains | Match messages where the Cc header contains the specified text. | |
ChangedSince | Match messages that have mod-sequence values greater than or equal to the specified mod-sequence value. | |
DeliveredAfter | Match messages that were delivered after the specified date. | |
DeliveredBefore | Match messages that were delivered before the specified date. | |
DeliveredOn | Match messages that were delivered on the specified date. | |
Equals | (Inherited from Object) | |
Filter(MetadataTag) | Match messages using a saved search filter. | |
Filter(String) | Match messages using a saved search filter. | |
Finalize | (Inherited from Object) | |
FromContains | Match messages where the From header contains the specified text. | |
Fuzzy | Apply a fuzzy matching algorithm to the specified expression. | |
GetHashCode | (Inherited from Object) | |
GetType | (Inherited from Object) | |
GMailMessageId | Match messages that have the specified GMail message identifier. | |
GMailRawSearch | Match messages using the GMail search expression. | |
GMailThreadId | Match messages belonging to the specified GMail thread. | |
HasFlags | Match messages that have the specified flags set. | |
HasGMailLabel | Match messages that have the specified GMail label. | |
HasKeyword | Match messages that have the specified keyword set. | |
HasKeywords | Match messages that have all of the specified keywords set. | |
HeaderContains | Match messages where the specified header contains the specified text. | |
LargerThan | Match messages that are larger than the specified number of octets. | |
MemberwiseClone | (Inherited from Object) | |
MessageContains | Match messages that contain the specified text in either the header or the body. | |
Not | Create a logical negation of the specified expression. | |
NotFlags | Match messages that do not have any of the specified flags set. | |
NotKeyword | Match messages that do not have the specified keyword set. | |
NotKeywords | Match messages that do not have any of the specified keywords set. | |
OlderThan | Match messages older than the specified number of seconds. | |
Or(SearchQuery) | Create a conditional OR operation. | |
Or(SearchQuery, SearchQuery) | Create a conditional OR operation. | |
SavedBefore | Match messages that were saved to the mailbox before the specified date. | |
SavedOn | Match messages that were saved to the mailbox on the specified date. | |
SavedSince | Match messages that were saved to the mailbox since the specified date. | |
SentBefore | Match messages that were sent before the specified date. | |
SentOn | Match messages that were sent on the specified date. | |
SentSince | Match messages that were sent since the specified date. | |
SmallerThan | Match messages that are smaller than the specified number of octets. | |
SubjectContains | Match messages where the Subject header contains the specified text. | |
ToContains | Match messages where the To header contains the specified text. | |
ToString | (Inherited from Object) | |
Uids | Limit the search query to messages with the specified unique identifiers. | |
YoungerThan | Match messages younger than the specified number of seconds. |
Name | Description | |
---|---|---|
All | Match all messages in the folder. | |
Answered | Match messages with the Answered flag set. | |
Deleted | Match messages with the Deleted flag set. | |
Draft | Match messages with the Draft flag set. | |
Flagged | Match messages with the Flagged flag set. | |
New | Match messages with the Recent flag set but not the Seen. | |
NotAnswered | Match messages that do not have the Answered flag set. | |
NotDeleted | Match messages that do not have the Deleted flag set. | |
NotDraft | Match messages that do not have the Draft flag set. | |
NotFlagged | Match messages that do not have the Flagged flag set. | |
NotRecent | Match messages that do not have the Recent flag set. | |
NotSeen | Match messages that do not have the Seen flag set. | |
Old | Match messages that do not have the Recent flag set. | |
Recent | Match messages with the Recent flag set. | |
SaveDateSupported | Match all messages in the mailbox when the underlying storage of that mailbox supports the save date attribute. | |
Seen | Match messages with the Seen flag set. |