Represents the string search field. More...
Inherits Aspose::Email::Tools::Search::ComparisonField.
Public Member Functions | |
| StringComparisonField (System::String fieldName, System::SharedPtr< MailQueryBuilder > owner) | |
| Initializes a new instance of the StringComparisonField class. More... | |
| System::SharedPtr< MailQuery > | Contains (System::String value) |
| Indicates that field in message must contain the specified value. More... | |
| System::SharedPtr< MailQuery > | Contains (System::String value, bool ignoreCase) |
| Indicates that field in message must contain the specified value. More... | |
| System::SharedPtr< MailQuery > | NotContains (System::String value) |
| Indicates that field in message must not contain the specified value. More... | |
| System::SharedPtr< MailQuery > | NotContains (System::String value, bool ignoreCase) |
| Indicates that field in message must not contain the specified value. More... | |
| System::SharedPtr< MailQuery > | Equals (System::String value) |
| Indicates that field in message must be equal to the specified value. More... | |
| System::SharedPtr< MailQuery > | Equals (System::String value, bool ignoreCase) |
| Indicates that field in message must be equal to the specified value. More... | |
| System::SharedPtr< MailQuery > | NotEquals (System::String value) |
| Indicates that field in message must not be equal to the specified value. More... | |
| System::SharedPtr< MailQuery > | NotEquals (System::String value, bool ignoreCase) |
| Indicates that field in message must not be equal to the specified value. More... | |
| System::SharedPtr< MailQuery > | Empty () |
| Indicates that field in message must be empty. More... | |
| System::SharedPtr< MailQuery > | NotEmpty () |
| Indicates that field in message must not be empty. More... | |
Public Member Functions inherited from Aspose::Email::Tools::Search::ComparisonField | |
| void | OrderBy (bool ascending) |
| Sets value which indicates if client uses ascending or descending sorting on the Field. More... | |
| System::SharedPtr< MailQuery > | Exists (bool value) |
Protected Member Functions | |
| System::SharedPtr< MailQuery > | CreateKey (System::String name, System::String value, System::String comparsionOperator) override |
| Creates the search key. More... | |
Protected Member Functions inherited from Aspose::Email::Tools::Search::ComparisonField | |
| ComparisonField (System::String fieldName, System::SharedPtr< MailQueryBuilder > owner) | |
| Initializes a new instance of the ComparisonField class. More... | |
| System::SharedPtr< MailQuery > | CreateKey (System::String name, System::SharedPtr< System::BoxedValueBase > value, System::String comparsionOperator) |
| Creates the search key. More... | |
Protected Member Functions inherited from Aspose::Email::Tools::Search::QueryField | |
| QueryField (System::String fieldName, System::SharedPtr< MailQueryBuilder > owner) | |
| Initializes a new instance of the ComparisonField class. More... | |
Additional Inherited Members | |
Protected Attributes inherited from Aspose::Email::Tools::Search::QueryField | |
| System::String | FieldName |
| Field Name. More... | |
| System::SharedPtr< MailQueryBuilder > | owner |
| Owner of this object. More... | |
Represents the string search field.
| Aspose::Email::Tools::Search::StringComparisonField::StringComparisonField | ( | System::String | fieldName, |
| System::SharedPtr< MailQueryBuilder > | owner | ||
| ) |
Initializes a new instance of the StringComparisonField class.
| fieldName | Name of the field. |
| owner | Owner of ComparisonField field object. |
| System::SharedPtr<MailQuery> Aspose::Email::Tools::Search::StringComparisonField::Contains | ( | System::String | value | ) |
Indicates that field in message must contain the specified value.
| value | The value. |
| System::SharedPtr<MailQuery> Aspose::Email::Tools::Search::StringComparisonField::Contains | ( | System::String | value, |
| bool | ignoreCase | ||
| ) |
Indicates that field in message must contain the specified value.
| value | The value. |
| ignoreCase | true to ignore case during the comparison; otherwise, false. |
| AsposeArgumentNullException | value;Field value should not be null or empty |
|
overrideprotectedvirtual |
Creates the search key.
| name | The field name. |
| value | The value. |
| comparsionOperator | The operator. |
Reimplemented from Aspose::Email::Tools::Search::ComparisonField.
| System::SharedPtr<MailQuery> Aspose::Email::Tools::Search::StringComparisonField::Empty | ( | ) |
Indicates that field in message must be empty.
| System::SharedPtr<MailQuery> Aspose::Email::Tools::Search::StringComparisonField::Equals | ( | System::String | value | ) |
Indicates that field in message must be equal to the specified value.
| value | The value. |
| System::SharedPtr<MailQuery> Aspose::Email::Tools::Search::StringComparisonField::Equals | ( | System::String | value, |
| bool | ignoreCase | ||
| ) |
Indicates that field in message must be equal to the specified value.
| value | The value. |
| ignoreCase | true to ignore case during the comparison; otherwise, false. |
| System::SharedPtr<MailQuery> Aspose::Email::Tools::Search::StringComparisonField::NotContains | ( | System::String | value | ) |
Indicates that field in message must not contain the specified value.
| value | The value. |
| System::SharedPtr<MailQuery> Aspose::Email::Tools::Search::StringComparisonField::NotContains | ( | System::String | value, |
| bool | ignoreCase | ||
| ) |
Indicates that field in message must not contain the specified value.
| value | The value. |
| ignoreCase | true to ignore case during the comparison; otherwise, false. |
| System::SharedPtr<MailQuery> Aspose::Email::Tools::Search::StringComparisonField::NotEmpty | ( | ) |
Indicates that field in message must not be empty.
| System::SharedPtr<MailQuery> Aspose::Email::Tools::Search::StringComparisonField::NotEquals | ( | System::String | value | ) |
Indicates that field in message must not be equal to the specified value.
| value | The value. |
| System::SharedPtr<MailQuery> Aspose::Email::Tools::Search::StringComparisonField::NotEquals | ( | System::String | value, |
| bool | ignoreCase | ||
| ) |
Indicates that field in message must not be equal to the specified value.
| value | The value. |
| ignoreCase | true to ignore case during the comparison; otherwise, false. |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |