Aspose::Email::Clients::Exchange::ComparisonFieldAdapter Class Reference

Implements adapter for using ComparisonField according to their type More...

Inherits Object.

Public Member Functions

System::SharedPtr< Aspose::Email::Tools::Search::StringComparisonFieldget_AsString ()
 Returns current ComparisonField as StringComparisonField More...
 
System::SharedPtr< Aspose::Email::Tools::Search::DateComparisonFieldget_AsDateTime ()
 Returns current ComparisonField as DateComparisonField More...
 
System::SharedPtr< Aspose::Email::Tools::Search::LongComparisonFieldget_AsInteger ()
 Returns current ComparisonField as LongComparisonField More...
 
System::SharedPtr< Aspose::Email::Tools::Search::DoubleComparisonFieldget_AsFloating ()
 Returns current ComparisonField as DoubleComparisonField More...
 
System::SharedPtr< Aspose::Email::Tools::Search::BoolComparisonFieldget_AsBoolean ()
 Returns current ComparisonField as BoolComparisonField More...
 
System::SharedPtr< Aspose::Email::Tools::Search::BinaryComparisonFieldget_AsBinary ()
 Returns current ComparisonField as BinaryComparisonField More...
 
 ComparisonFieldAdapter (System::SharedPtr< Aspose::Email::Tools::Search::ComparisonField > comparisonField)
 Initializes a new instance of the ComparisonFieldAdapter class. More...
 
System::SharedPtr< Aspose::Email::Tools::Search::MailQueryExists (bool value)
 Get a search expression that returns true if the supplied property exists. More...
 

Friends

class Aspose::Email::Clients::Exchange::ExtendedPropertiesComparisonField
 

Detailed Description

Implements adapter for using ComparisonField according to their type

Constructor & Destructor Documentation

◆ ComparisonFieldAdapter()

Aspose::Email::Clients::Exchange::ComparisonFieldAdapter::ComparisonFieldAdapter ( System::SharedPtr< Aspose::Email::Tools::Search::ComparisonField comparisonField)

Initializes a new instance of the ComparisonFieldAdapter class.

Parameters
comparisonFieldComparisonField for convertion

Member Function Documentation

◆ Exists()

System::SharedPtr<Aspose::Email::Tools::Search::MailQuery> Aspose::Email::Clients::Exchange::ComparisonFieldAdapter::Exists ( bool  value)

Get a search expression that returns true if the supplied property exists.

Returns
A MailQuery object that represents a search expression.

◆ get_AsBinary()

System::SharedPtr<Aspose::Email::Tools::Search::BinaryComparisonField> Aspose::Email::Clients::Exchange::ComparisonFieldAdapter::get_AsBinary ( )

◆ get_AsBoolean()

System::SharedPtr<Aspose::Email::Tools::Search::BoolComparisonField> Aspose::Email::Clients::Exchange::ComparisonFieldAdapter::get_AsBoolean ( )

◆ get_AsDateTime()

System::SharedPtr<Aspose::Email::Tools::Search::DateComparisonField> Aspose::Email::Clients::Exchange::ComparisonFieldAdapter::get_AsDateTime ( )

◆ get_AsFloating()

System::SharedPtr<Aspose::Email::Tools::Search::DoubleComparisonField> Aspose::Email::Clients::Exchange::ComparisonFieldAdapter::get_AsFloating ( )

◆ get_AsInteger()

System::SharedPtr<Aspose::Email::Tools::Search::LongComparisonField> Aspose::Email::Clients::Exchange::ComparisonFieldAdapter::get_AsInteger ( )

◆ get_AsString()

System::SharedPtr<Aspose::Email::Tools::Search::StringComparisonField> Aspose::Email::Clients::Exchange::ComparisonFieldAdapter::get_AsString ( )

Friends And Related Function Documentation

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