Aspose::Email::Tools::Search::EnumComparisonField Class Referencefinal

Represents the enum search field. More...

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

Public Member Functions

 EnumComparisonField (const System::TypeInfo &enumType, System::String fieldName, System::SharedPtr< MailQueryBuilder > owner)
 Initializes a new instance of the EnumComparisonField class. More...
 
System::SharedPtr< MailQueryEquals (System::SharedPtr< System::BoxedValueBase > value)
 Indicates that field in message must be equal to the specified value. More...
 
System::SharedPtr< MailQueryNotEquals (System::SharedPtr< System::BoxedValueBase > value)
 Indicates that field in message 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::ExchangeAdvancedSyntaxQueryBuilder
 
class Aspose::Email::Clients::Exchange::ExchangeQueryBuilder
 

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

Constructor & Destructor Documentation

◆ EnumComparisonField()

Aspose::Email::Tools::Search::EnumComparisonField::EnumComparisonField ( const System::TypeInfo &  enumType,
System::String  fieldName,
System::SharedPtr< MailQueryBuilder owner 
)

Initializes a new instance of the EnumComparisonField class.

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

Member Function Documentation

◆ Equals()

System::SharedPtr<MailQuery> Aspose::Email::Tools::Search::EnumComparisonField::Equals ( System::SharedPtr< System::BoxedValueBase >  value)

Indicates that field in message 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::EnumComparisonField::NotEquals ( System::SharedPtr< System::BoxedValueBase >  value)

Indicates that field in message 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::ExchangeAdvancedSyntaxQueryBuilder

◆ Aspose::Email::Clients::Exchange::ExchangeQueryBuilder