Aspose::Email::Tools::Search::BinaryComparisonField Class Referencefinal

Represents the binary search field. More...

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

Public Member Functions

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

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 binary search field.

Constructor & Destructor Documentation

◆ BinaryComparisonField()

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

Initializes a new instance of the BinaryComparisonField class.

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

Member Function Documentation

◆ Equals() [1/2]

System::SharedPtr<MailQuery> Aspose::Email::Tools::Search::BinaryComparisonField::Equals ( System::ArrayPtr< uint8_t >  value)

Indicates that field must be equal to the specified value.

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

◆ Equals() [2/2]

System::SharedPtr<MailQuery> Aspose::Email::Tools::Search::BinaryComparisonField::Equals ( System::String  value)

Indicates that field must be equal to the specified value.

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

◆ NotEquals() [1/2]

System::SharedPtr<MailQuery> Aspose::Email::Tools::Search::BinaryComparisonField::NotEquals ( System::ArrayPtr< uint8_t >  value)

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

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

◆ NotEquals() [2/2]

System::SharedPtr<MailQuery> Aspose::Email::Tools::Search::BinaryComparisonField::NotEquals ( System::String  value)

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

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

Friends And Related Function Documentation

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