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

ASPOSE_EMAIL_SHARED_API System::SharedPtr< ESearchOptionsget_NotDefined () const
 Not defined More...
 
ASPOSE_EMAIL_SHARED_API ESearchOptions ()
 
ASPOSE_EMAIL_SHARED_API ESearchOptions (int32_t value)
 
ASPOSE_EMAIL_SHARED_API ESearchOptions (System::SharedPtr< Aspose::Email::Tools::Search::MailQueryBuilder > owner)
 
ASPOSE_EMAIL_SHARED_API ESearchOptions (int32_t value, System::SharedPtr< Aspose::Email::Tools::Search::MailQueryBuilder > owner)
 
virtual ASPOSE_EMAIL_SHARED_API bool Equals (System::SharedPtr< System::Object > obj)
 
ASPOSE_EMAIL_SHARED_API System::SharedPtr< Aspose::Email::Tools::Search::MailQuery > CreateQuery (System::SharedPtr< Aspose::Email::Tools::Search::MailQueryBuilder > owner)
 Creates the search key. More...
 
ASPOSE_EMAIL_SHARED_API System::SharedPtr< Aspose::Email::Tools::Search::MailQuery > CreateQuery ()
 Creates the search key. More...
 
virtual ASPOSE_EMAIL_SHARED_API System::String ToString () const
 String representation of an object More...
 

Static Public Member Functions

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

Protected Member Functions

virtual ASPOSE_EMAIL_SHARED_API ~ESearchOptions ()
 
- Protected Member Functions inherited from Aspose::Email::Tools::Search::QueryField
ASPOSE_EMAIL_SHARED_API QueryField (System::String fieldName, System::SharedPtr< MailQueryBuilder > owner)
 Initializes a new instance of the ComparisonField class. More...
 

Friends

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

Additional Inherited Members

- Protected Attributes inherited from Aspose::Email::Tools::Search::QueryField
System::String FieldName
 
System::SharedPtr< MailQueryBuilderowner
 

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_SHARED_API Aspose::Email::Clients::Imap::ESearchOptions::ESearchOptions ( )

◆ ESearchOptions() [2/4]

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

◆ ESearchOptions() [3/4]

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

◆ ESearchOptions() [4/4]

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

◆ ~ESearchOptions()

virtual ASPOSE_EMAIL_SHARED_API Aspose::Email::Clients::Imap::ESearchOptions::~ESearchOptions ( )
protectedvirtual

Member Function Documentation

◆ CreateQuery() [1/2]

ASPOSE_EMAIL_SHARED_API 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]

ASPOSE_EMAIL_SHARED_API 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()

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

Parameters
obj
Returns

◆ get_All()

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

Return all messages

◆ get_Count()

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

Return number of the messages

◆ get_Max()

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

Return the highest message

◆ get_Min()

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

Return the lowest message

◆ get_NotDefined()

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

Not defined

◆ ToString()

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

String representation of an object

Returns
string representation of an object

Friends And Related Function Documentation

◆ operator!=

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

◆ operator+

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

◆ operator-

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

◆ operator==

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