Represents the builder of search expression that used by pst. More...
Inherits Aspose::Email::Tools::Search::MailQueryBuilder.
Public Member Functions | |
System::SharedPtr< Aspose::Email::Tools::Search::BoolComparisonField > | get_OnlyFoldersCreatedByUser () const |
Gets folders that created by user, i.e. excludes all standard IPM folders. More... | |
System::SharedPtr< Aspose::Email::Tools::Search::StringComparisonField > | get_MessageId () const |
Gets the field that allows to find messages that contain the specified string in the envelope structure's MessageId field. More... | |
System::SharedPtr< Aspose::Email::Tools::Search::StringComparisonField > | get_MessageClass () const |
Gets messages with an specified message class. More... | |
System::SharedPtr< Aspose::Email::Tools::Search::IntComparisonField > | get_MessageSize () const |
Search messages with an specified size. More... | |
System::SharedPtr< Aspose::Email::Tools::Search::IntComparisonField > | get_Importance () const |
Search messages with an specified importance. More... | |
System::SharedPtr< Aspose::Email::Tools::Search::StringComparisonField > | get_ContainerClass () const |
Gets folders with an specified message class. More... | |
System::SharedPtr< Aspose::Email::Tools::Search::StringComparisonField > | get_FolderName () const |
Search folders with an specified display name. More... | |
System::SharedPtr< Aspose::Email::Tools::Search::IntComparisonField > | get_ContentsCount () const |
Search folders with an specified contents count. More... | |
System::SharedPtr< Aspose::Email::Tools::Search::IntComparisonField > | get_UnreadContentsCount () const |
Search folders with an specified unread contents count. More... | |
PersonalStorageQueryBuilder () | |
Initializes a new instance of the PersonalStorageQueryBuilder class. More... | |
System::SharedPtr< Aspose::Email::Tools::Search::MailQuery > | FindConversationThread (System::SharedPtr< MessageInfo > relatedMessage) |
Finds the conversation thread. More... | |
System::SharedPtr< Aspose::Email::Tools::Search::MailQuery > | HasFlags (Aspose::Email::Mapi::MapiMessageFlags flags) |
Search messages with the specified flags. More... | |
System::SharedPtr< Aspose::Email::Tools::Search::MailQuery > | HasNoFlags (Aspose::Email::Mapi::MapiMessageFlags flags) |
Search messages with the unspecified flags. More... | |
System::SharedPtr< Aspose::Email::Tools::Search::MailQuery > | HasSubfolders () |
Search folders which contains subfolders. More... | |
System::SharedPtr< Aspose::Email::Tools::Search::MailQuery > | HasNoSubfolders () |
Search folders which does not contains subfolders. More... | |
Public Member Functions inherited from Aspose::Email::Tools::Search::MailQueryBuilder | |
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 | ~PersonalStorageQueryBuilder () |
Protected Member Functions inherited from Aspose::Email::Tools::Search::MailQueryBuilder | |
virtual | ~MailQueryBuilder () |
Represents the builder of search expression that used by pst.
Aspose::Email::Storage::Pst::PersonalStorageQueryBuilder::PersonalStorageQueryBuilder | ( | ) |
Initializes a new instance of the PersonalStorageQueryBuilder class.
|
protectedvirtual |
System::SharedPtr<Aspose::Email::Tools::Search::MailQuery> Aspose::Email::Storage::Pst::PersonalStorageQueryBuilder::FindConversationThread | ( | System::SharedPtr< MessageInfo > | relatedMessage | ) |
Finds the conversation thread.
relatedMessage | The related message. |
System::SharedPtr<Aspose::Email::Tools::Search::StringComparisonField> Aspose::Email::Storage::Pst::PersonalStorageQueryBuilder::get_ContainerClass | ( | ) | const |
Gets folders with an specified message class.
The StringComparisonField that represents a container class.
System::SharedPtr<Aspose::Email::Tools::Search::IntComparisonField> Aspose::Email::Storage::Pst::PersonalStorageQueryBuilder::get_ContentsCount | ( | ) | const |
Search folders with an specified contents count.
System::SharedPtr<Aspose::Email::Tools::Search::StringComparisonField> Aspose::Email::Storage::Pst::PersonalStorageQueryBuilder::get_FolderName | ( | ) | const |
Search folders with an specified display name.
System::SharedPtr<Aspose::Email::Tools::Search::IntComparisonField> Aspose::Email::Storage::Pst::PersonalStorageQueryBuilder::get_Importance | ( | ) | const |
Search messages with an specified importance.
System::SharedPtr<Aspose::Email::Tools::Search::StringComparisonField> Aspose::Email::Storage::Pst::PersonalStorageQueryBuilder::get_MessageClass | ( | ) | const |
Gets messages with an specified message class.
The StringComparisonField that represents a message class.
System::SharedPtr<Aspose::Email::Tools::Search::StringComparisonField> Aspose::Email::Storage::Pst::PersonalStorageQueryBuilder::get_MessageId | ( | ) | const |
Gets the field that allows to find messages that contain the specified string in the envelope structure's MessageId field.
The DateComparisonField that represents MessageId search field.
System::SharedPtr<Aspose::Email::Tools::Search::IntComparisonField> Aspose::Email::Storage::Pst::PersonalStorageQueryBuilder::get_MessageSize | ( | ) | const |
Search messages with an specified size.
System::SharedPtr<Aspose::Email::Tools::Search::BoolComparisonField> Aspose::Email::Storage::Pst::PersonalStorageQueryBuilder::get_OnlyFoldersCreatedByUser | ( | ) | const |
Gets folders that created by user, i.e. excludes all standard IPM folders.
TheBoolComparisonField that represents search field.
System::SharedPtr<Aspose::Email::Tools::Search::IntComparisonField> Aspose::Email::Storage::Pst::PersonalStorageQueryBuilder::get_UnreadContentsCount | ( | ) | const |
Search folders with an specified unread contents count.
System::SharedPtr<Aspose::Email::Tools::Search::MailQuery> Aspose::Email::Storage::Pst::PersonalStorageQueryBuilder::HasFlags | ( | Aspose::Email::Mapi::MapiMessageFlags | flags | ) |
Search messages with the specified flags.
flags | The flags. |
System::SharedPtr<Aspose::Email::Tools::Search::MailQuery> Aspose::Email::Storage::Pst::PersonalStorageQueryBuilder::HasNoFlags | ( | Aspose::Email::Mapi::MapiMessageFlags | flags | ) |
Search messages with the unspecified flags.
flags | The flags. |
System::SharedPtr<Aspose::Email::Tools::Search::MailQuery> Aspose::Email::Storage::Pst::PersonalStorageQueryBuilder::HasNoSubfolders | ( | ) |
Search folders which does not contains subfolders.
System::SharedPtr<Aspose::Email::Tools::Search::MailQuery> Aspose::Email::Storage::Pst::PersonalStorageQueryBuilder::HasSubfolders | ( | ) |
Search folders which contains subfolders.