Aspose::Email::Clients::Imap::ESearchOptions Class Reference

ESEARCH Result Options This method works only if server supports ESEARCH extension. Please, read more https://tools.ietf.org/html/rfc4315 More...

Inherits Aspose::Email::Tools::Search::QueryField.

Public Member Functions

 ESearchOptions ()
 
 ESearchOptions (int32_t value)
 
 ESearchOptions (System::SharedPtr< Aspose::Email::Tools::Search::MailQueryBuilder > owner)
 
 ESearchOptions (int32_t value, System::SharedPtr< Aspose::Email::Tools::Search::MailQueryBuilder > owner)
 
bool Equals (System::SharedPtr< System::Object > obj) override
 
System::SharedPtr< Aspose::Email::Tools::Search::MailQueryCreateQuery (System::SharedPtr< Aspose::Email::Tools::Search::MailQueryBuilder > owner)
 Creates the search key. More...
 
System::SharedPtr< Aspose::Email::Tools::Search::MailQueryCreateQuery ()
 Creates the search key. More...
 
System::String ToString () const override
 String representation of an object More...
 

Static Public Member Functions

static System::SharedPtr< ESearchOptionsget_NotDefined ()
 Not defined More...
 
static System::SharedPtr< ESearchOptionsget_Min ()
 Return the lowest message More...
 
static System::SharedPtr< ESearchOptionsget_Max ()
 Return the highest message More...
 
static System::SharedPtr< ESearchOptionsget_All ()
 Return all messages More...
 
static System::SharedPtr< ESearchOptionsget_Count ()
 Return number of the messages More...
 

Friends

System::SharedPtr< ESearchOptionsoperator+ (System::SharedPtr< ESearchOptions > val1, System::SharedPtr< ESearchOptions > val2)
 
System::SharedPtr< ESearchOptionsoperator- (System::SharedPtr< ESearchOptions > val1, System::SharedPtr< ESearchOptions > val2)
 
bool operator== (System::SharedPtr< ESearchOptions > val1, System::SharedPtr< ESearchOptions > val2)
 
bool operator!= (System::SharedPtr< ESearchOptions > val1, System::SharedPtr< ESearchOptions > val2)
 

Additional Inherited Members

- 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

ESEARCH Result Options This method works only if server supports ESEARCH extension. Please, read more https://tools.ietf.org/html/rfc4315

Constructor & Destructor Documentation

◆ ESearchOptions() [1/4]

Aspose::Email::Clients::Imap::ESearchOptions::ESearchOptions ( )

◆ ESearchOptions() [2/4]

Aspose::Email::Clients::Imap::ESearchOptions::ESearchOptions ( int32_t  value)

◆ ESearchOptions() [3/4]

Aspose::Email::Clients::Imap::ESearchOptions::ESearchOptions ( System::SharedPtr< Aspose::Email::Tools::Search::MailQueryBuilder owner)

◆ ESearchOptions() [4/4]

Aspose::Email::Clients::Imap::ESearchOptions::ESearchOptions ( int32_t  value,
System::SharedPtr< Aspose::Email::Tools::Search::MailQueryBuilder owner 
)

Member Function Documentation

◆ CreateQuery() [1/2]

System::SharedPtr<Aspose::Email::Tools::Search::MailQuery> Aspose::Email::Clients::Imap::ESearchOptions::CreateQuery ( )

Creates the search key.

Returns
MailQuery that represents search query.

◆ CreateQuery() [2/2]

System::SharedPtr<Aspose::Email::Tools::Search::MailQuery> Aspose::Email::Clients::Imap::ESearchOptions::CreateQuery ( System::SharedPtr< Aspose::Email::Tools::Search::MailQueryBuilder owner)

Creates the search key.

Parameters
ownerowner
Returns
MailQuery that represents search query.

◆ Equals()

bool Aspose::Email::Clients::Imap::ESearchOptions::Equals ( System::SharedPtr< System::Object >  obj)
override

Parameters
obj
Returns

◆ get_All()

static System::SharedPtr<ESearchOptions> Aspose::Email::Clients::Imap::ESearchOptions::get_All ( )
static

Return all messages

◆ get_Count()

static System::SharedPtr<ESearchOptions> Aspose::Email::Clients::Imap::ESearchOptions::get_Count ( )
static

Return number of the messages

◆ get_Max()

static System::SharedPtr<ESearchOptions> Aspose::Email::Clients::Imap::ESearchOptions::get_Max ( )
static

Return the highest message

◆ get_Min()

static System::SharedPtr<ESearchOptions> Aspose::Email::Clients::Imap::ESearchOptions::get_Min ( )
static

Return the lowest message

◆ get_NotDefined()

static System::SharedPtr<ESearchOptions> Aspose::Email::Clients::Imap::ESearchOptions::get_NotDefined ( )
static

Not defined

◆ ToString()

System::String Aspose::Email::Clients::Imap::ESearchOptions::ToString ( ) const
override

String representation of an object

Returns
string representation of an object

Friends And Related Function Documentation

◆ operator!=

bool operator!= ( System::SharedPtr< ESearchOptions val1,
System::SharedPtr< ESearchOptions val2 
)
friend

◆ operator+

System::SharedPtr<ESearchOptions> operator+ ( System::SharedPtr< ESearchOptions val1,
System::SharedPtr< ESearchOptions val2 
)
friend

◆ operator-

System::SharedPtr<ESearchOptions> operator- ( System::SharedPtr< ESearchOptions val1,
System::SharedPtr< ESearchOptions val2 
)
friend

◆ operator==

bool operator== ( System::SharedPtr< ESearchOptions val1,
System::SharedPtr< ESearchOptions val2 
)
friend