Aspose::Email::Tools::Search::BoolComparisonField Class Referencefinal

Represents the boolean search field. More...

Inherits Aspose::Email::Tools::Search::ComparisonField.

Public Member Functions

 BoolComparisonField (System::String fieldName, System::SharedPtr< MailQueryBuilder > owner)
 Initializes a new instance of the BoolComparisonField class. More...
 
System::SharedPtr< MailQueryEquals (bool value)
 Indicates that field must be equal to the specified value. More...
 
System::SharedPtr< MailQueryNotEquals (bool value)
 Indicates that field must not be equal to the specified value. 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< MailQueryExists (bool value)
 

Friends

class Aspose::Email::Clients::Exchange::ExtendedPropertiesComparisonField
 
class Aspose::Email::Clients::Exchange::AppointmentQueryBuilder
 
class Aspose::Email::Clients::Exchange::ExchangeAdvancedSyntaxQueryBuilder
 
class Aspose::Email::Clients::Graph::GraphQueryBuilder
 
class Aspose::Email::Storage::Pst::PersonalStorageQueryBuilder
 

Additional Inherited Members

- 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...
 
virtual System::SharedPtr< MailQueryCreateKey (System::String name, System::String value, System::String comparsionOperator)
 Creates the search key. More...
 
System::SharedPtr< MailQueryCreateKey (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...
 
- Protected Attributes inherited from Aspose::Email::Tools::Search::QueryField
System::String FieldName
 Field Name. More...
 
System::SharedPtr< MailQueryBuilderowner
 Owner of this object. More...
 

Detailed Description

Represents the boolean search field.

Constructor & Destructor Documentation

◆ BoolComparisonField()

Aspose::Email::Tools::Search::BoolComparisonField::BoolComparisonField ( System::String  fieldName,
System::SharedPtr< MailQueryBuilder owner 
)

Initializes a new instance of the BoolComparisonField class.

Parameters
fieldNameName of the field.
ownerOwner of ComparisonField field object.

Member Function Documentation

◆ Equals()

System::SharedPtr<MailQuery> Aspose::Email::Tools::Search::BoolComparisonField::Equals ( bool  value)

Indicates that field must be equal to the specified value.

Parameters
valueThe value.
Returns
MailQuery that represents search query (one searching criterion).

◆ NotEquals()

System::SharedPtr<MailQuery> Aspose::Email::Tools::Search::BoolComparisonField::NotEquals ( bool  value)

Indicates that field must not be equal to the specified value.

Parameters
valueThe value.
Returns
MailQuery that represents search query (one searching criterion).

Friends And Related Function Documentation

◆ Aspose::Email::Clients::Exchange::AppointmentQueryBuilder

◆ Aspose::Email::Clients::Exchange::ExchangeAdvancedSyntaxQueryBuilder

◆ Aspose::Email::Clients::Exchange::ExtendedPropertiesComparisonField

◆ Aspose::Email::Clients::Graph::GraphQueryBuilder

◆ Aspose::Email::Storage::Pst::PersonalStorageQueryBuilder