Aspose::Email::Tools::Search::LongComparisonField Class Referencefinal

Represents the Int64 search field. More...

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

Public Member Functions

 LongComparisonField (System::String fieldName, System::SharedPtr< MailQueryBuilder > owner)
 Initializes a new instance of the LongComparisonField class. More...
 
System::SharedPtr< MailQueryEquals (int64_t value)
 Indicates that field must be equal to the specified value. More...
 
System::SharedPtr< MailQueryNotEquals (int64_t value)
 Indicates that field must not be equal to the specified value. More...
 
System::SharedPtr< MailQueryLess (int64_t value)
 Indicates that field must be less than the specified value. More...
 
System::SharedPtr< MailQueryGreater (int64_t value)
 Indicates that field must be greater than the specified value. More...
 
System::SharedPtr< MailQueryLessOrEqual (int64_t value)
 Indicates that field must be less or equal to the specified value. More...
 
System::SharedPtr< MailQueryGreaterOrEqual (int64_t value)
 Indicates that field must be greater or 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 Int64 search field.

Constructor & Destructor Documentation

◆ LongComparisonField()

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

Initializes a new instance of the LongComparisonField class.

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

Member Function Documentation

◆ Equals()

System::SharedPtr<MailQuery> Aspose::Email::Tools::Search::LongComparisonField::Equals ( int64_t  value)

Indicates that field must be equal to the specified value.

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

◆ Greater()

System::SharedPtr<MailQuery> Aspose::Email::Tools::Search::LongComparisonField::Greater ( int64_t  value)

Indicates that field must be greater than the specified value.

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

◆ GreaterOrEqual()

System::SharedPtr<MailQuery> Aspose::Email::Tools::Search::LongComparisonField::GreaterOrEqual ( int64_t  value)

Indicates that field must be greater or equal to the specified value.

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

◆ Less()

System::SharedPtr<MailQuery> Aspose::Email::Tools::Search::LongComparisonField::Less ( int64_t  value)

Indicates that field must be less than the specified value.

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

◆ LessOrEqual()

System::SharedPtr<MailQuery> Aspose::Email::Tools::Search::LongComparisonField::LessOrEqual ( int64_t  value)

Indicates that field must be less or 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::LongComparisonField::NotEquals ( int64_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).

Friends And Related Function Documentation

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