Represents the builder of search expression. More...
Inherits Object.
Inherited by Aspose::Email::Clients::Exchange::ExchangeAdvancedSyntaxQueryBuilder, Aspose::Email::Clients::Exchange::ExchangeQueryBuilder, Aspose::Email::Clients::Graph::GraphQueryBuilder, Aspose::Email::Clients::Imap::ImapQueryBuilder, and Aspose::Email::Storage::Pst::PersonalStorageQueryBuilder.
Public Member Functions | |
System::SharedPtr< StringComparisonField > | get_To () const |
Gets the field that allows to find messages that contain the specified string in the envelope structure's TO field. More... | |
System::SharedPtr< StringComparisonField > | get_Text () const |
Gets the field that allows to find the messages that contain the specified string in the headers (subject, from, to, cc) and body of the message. More... | |
System::SharedPtr< StringComparisonField > | get_Bcc () const |
Gets the field that allows to find messages that contain the specified string in the envelope structure's BCC field. More... | |
System::SharedPtr< StringComparisonField > | get_Body () const |
Gets the field that allows to find messages that contain the specified string in the body of the message. More... | |
System::SharedPtr< StringComparisonField > | get_Cc () const |
Gets the field that allows to find messages that contain the specified string in the envelope structure's CC field. More... | |
System::SharedPtr< StringComparisonField > | get_From () const |
Gets the field that allows to find messages that contain the specified string in the envelope structure's FROM field. More... | |
System::SharedPtr< StringComparisonField > | get_Subject () const |
Gets the field that allows to find messages that contain the specified string in the envelope structure's SUBJECT field. More... | |
System::SharedPtr< System::Text::Encoding > | get_DefaultEncoding () const |
Gets default encoding (charset) for query builder More... | |
System::SharedPtr< DateComparisonField > | get_InternalDate () const |
Gets the field that allows to find messages by internal date. More... | |
System::SharedPtr< DateComparisonField > | get_SentDate () const |
Gets the field that allows to find messages by sent date. More... | |
System::SharedPtr< System::Collections::Generic::ListExt< System::SharedPtr< MailQuery > > > | get_KeyCollection () const |
Gets the key collection. More... | |
System::SharedPtr< System::Collections::Generic::ListExt< System::SharedPtr< MailQuery > > > | get_OrderByCollection () const |
Gets the key collection. More... | |
MailQueryBuilder () | |
Initializes a new instance of the MailQueryBuilder class. More... | |
MailQueryBuilder (System::SharedPtr< System::Text::Encoding > defaultEncoding) | |
Initializes a new instance of the MailQueryBuilder class. More... | |
System::SharedPtr< MailQuery > | Or (System::SharedPtr< MailQuery > query1, System::SharedPtr< MailQuery > query2) |
Search messages that match either search key. Provides disjunction between two expressions (OR). More... | |
System::SharedPtr< MailQuery > | GetQuery () |
Gets the query. More... | |
System::SharedPtr< System::Collections::Generic::Dictionary< System::String, System::SharedPtr< System::Object > > > | GetOptions () |
void | Clear () |
Clears query. More... | |
Protected Member Functions | |
virtual | ~MailQueryBuilder () |
Represents the builder of search expression.
Note: By default, the result is the intersection (AND function) of all the messages that match those keys. To join keys by OR function, please, use Or() method of this class
Aspose::Email::Tools::Search::MailQueryBuilder::MailQueryBuilder | ( | ) |
Initializes a new instance of the MailQueryBuilder class.
Aspose::Email::Tools::Search::MailQueryBuilder::MailQueryBuilder | ( | System::SharedPtr< System::Text::Encoding > | defaultEncoding | ) |
Initializes a new instance of the MailQueryBuilder class.
defaultEncoding | Contains default encoding (charset) for query builder. |
|
protectedvirtual |
void Aspose::Email::Tools::Search::MailQueryBuilder::Clear | ( | ) |
Clears query.
System::SharedPtr<StringComparisonField> Aspose::Email::Tools::Search::MailQueryBuilder::get_Bcc | ( | ) | const |
Gets the field that allows to find messages that contain the specified string in the envelope structure's BCC field.
The DateComparisonField that represents BCC search field.
System::SharedPtr<StringComparisonField> Aspose::Email::Tools::Search::MailQueryBuilder::get_Body | ( | ) | const |
Gets the field that allows to find messages that contain the specified string in the body of the message.
The DateComparisonField that represents body search field.
System::SharedPtr<StringComparisonField> Aspose::Email::Tools::Search::MailQueryBuilder::get_Cc | ( | ) | const |
Gets the field that allows to find messages that contain the specified string in the envelope structure's CC field.
The DateComparisonField that represents cc search field.
System::SharedPtr<System::Text::Encoding> Aspose::Email::Tools::Search::MailQueryBuilder::get_DefaultEncoding | ( | ) | const |
Gets default encoding (charset) for query builder
System::SharedPtr<StringComparisonField> Aspose::Email::Tools::Search::MailQueryBuilder::get_From | ( | ) | const |
Gets the field that allows to find messages that contain the specified string in the envelope structure's FROM field.
The DateComparisonField that represents from search field.
System::SharedPtr<DateComparisonField> Aspose::Email::Tools::Search::MailQueryBuilder::get_InternalDate | ( | ) | const |
Gets the field that allows to find messages by internal date.
The DateComparisonField that represents internal date search field.
System::SharedPtr<System::Collections::Generic::ListExt<System::SharedPtr<MailQuery> > > Aspose::Email::Tools::Search::MailQueryBuilder::get_KeyCollection | ( | ) | const |
Gets the key collection.
The key collection.
System::SharedPtr<System::Collections::Generic::ListExt<System::SharedPtr<MailQuery> > > Aspose::Email::Tools::Search::MailQueryBuilder::get_OrderByCollection | ( | ) | const |
Gets the key collection.
The key collection.
System::SharedPtr<DateComparisonField> Aspose::Email::Tools::Search::MailQueryBuilder::get_SentDate | ( | ) | const |
Gets the field that allows to find messages by sent date.
The DateComparisonField that represents sent date search field.
System::SharedPtr<StringComparisonField> Aspose::Email::Tools::Search::MailQueryBuilder::get_Subject | ( | ) | const |
Gets the field that allows to find messages that contain the specified string in the envelope structure's SUBJECT field.
The DateComparisonField that represents subject search field.
System::SharedPtr<StringComparisonField> Aspose::Email::Tools::Search::MailQueryBuilder::get_Text | ( | ) | const |
Gets the field that allows to find the messages that contain the specified string in the headers (subject, from, to, cc) and body of the message.
The DateComparisonField that represents text header or body search fields.
System::SharedPtr<StringComparisonField> Aspose::Email::Tools::Search::MailQueryBuilder::get_To | ( | ) | const |
Gets the field that allows to find messages that contain the specified string in the envelope structure's TO field.
The DateComparisonField that represents TO search field.
System::SharedPtr<System::Collections::Generic::Dictionary<System::String, System::SharedPtr<System::Object> > > Aspose::Email::Tools::Search::MailQueryBuilder::GetOptions | ( | ) |
System::SharedPtr<MailQuery> Aspose::Email::Tools::Search::MailQueryBuilder::GetQuery | ( | ) |
Gets the query.
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |