Aspose::Email::PersonalInfo::EmailAddressCategory Class Reference

Represents category for an email address More...

Inherits IEquatable< System::SharedPtr< Aspose::Email::PersonalInfo::EmailAddressCategory > >.

Public Member Functions

ASPOSE_EMAIL_SHARED_API System::String get_Value () const
 Gets category of a email address More...
 
ASPOSE_EMAIL_SHARED_API System::String get_Description () const
 Gets description for the 'Custom' category of a email address More...
 
ASPOSE_EMAIL_SHARED_API EmailAddressCategory (System::String description)
 Initializes a new instance of the EmailAddressCategory class with 'Custom' category. More...
 
ASPOSE_EMAIL_SHARED_API EmailAddressCategory (System::String value, System::String description)
 Initializes a new instance of the EmailAddressCategory class with 'Custom' category. More...
 
virtual ASPOSE_EMAIL_SHARED_API System::String ToString () const
 Returns a string that represents the current object. More...
 
virtual ASPOSE_EMAIL_SHARED_API int32_t GetHashCode () const
 GetHashCode returns a hash function for this object. More...
 
virtual ASPOSE_EMAIL_SHARED_API bool Equals (System::SharedPtr< System::Object > obj)
 Determines whether the specified Object is equal to the current Object. More...
 
virtual ASPOSE_EMAIL_SHARED_API bool Equals (System::SharedPtr< EmailAddressCategory > other)
 Determines whether the specified Object is equal to the current Object. More...
 

Static Public Member Functions

static ASPOSE_EMAIL_SHARED_API System::SharedPtr< EmailAddressCategoryget_Home ()
 Home category More...
 
static ASPOSE_EMAIL_SHARED_API System::SharedPtr< EmailAddressCategoryget_Work ()
 Work category More...
 
static ASPOSE_EMAIL_SHARED_API System::SharedPtr< EmailAddressCategoryget_Custom ()
 Custom category More...
 
static ASPOSE_EMAIL_SHARED_API System::SharedPtr< EmailAddressCategoryget_Email1 ()
 Email1 category. Used by MS Exchange server. More...
 
static ASPOSE_EMAIL_SHARED_API System::SharedPtr< EmailAddressCategoryget_Email2 ()
 Email2 category. Used by MS Exchange server. More...
 
static ASPOSE_EMAIL_SHARED_API System::SharedPtr< EmailAddressCategoryget_Email3 ()
 Email3 category. Used by MS Exchange server. More...
 

Static Public Attributes

static const ASPOSE_EMAIL_SHARED_API System::String HomeValue
 
static const ASPOSE_EMAIL_SHARED_API System::String WorkValue
 
static const ASPOSE_EMAIL_SHARED_API System::String CustomValue
 
static const ASPOSE_EMAIL_SHARED_API System::String Email1Value
 
static const ASPOSE_EMAIL_SHARED_API System::String Email2Value
 
static const ASPOSE_EMAIL_SHARED_API System::String Email3Value
 

Friends

class Aspose::Email::Common::ContactConverter
 
ASPOSE_EMAIL_SHARED_API bool operator== (System::SharedPtr< EmailAddressCategory > a, System::SharedPtr< EmailAddressCategory > b)
 
ASPOSE_EMAIL_SHARED_API bool operator!= (System::SharedPtr< EmailAddressCategory > a, System::SharedPtr< EmailAddressCategory > b)
 

Detailed Description

Represents category for an email address

Constructor & Destructor Documentation

◆ EmailAddressCategory() [1/2]

ASPOSE_EMAIL_SHARED_API Aspose::Email::PersonalInfo::EmailAddressCategory::EmailAddressCategory ( System::String  description)

Initializes a new instance of the EmailAddressCategory class with 'Custom' category.

Parameters
descriptionDescription for email address category

◆ EmailAddressCategory() [2/2]

ASPOSE_EMAIL_SHARED_API Aspose::Email::PersonalInfo::EmailAddressCategory::EmailAddressCategory ( System::String  value,
System::String  description 
)

Initializes a new instance of the EmailAddressCategory class with 'Custom' category.

Parameters
valueEmail address category
descriptionDescription for the 'Custom' category of a email address

Member Function Documentation

◆ Equals() [1/2]

virtual ASPOSE_EMAIL_SHARED_API bool Aspose::Email::PersonalInfo::EmailAddressCategory::Equals ( System::SharedPtr< EmailAddressCategory other)
virtual

Determines whether the specified Object is equal to the current Object.

Parameters
otherThe Object to compare with the current Object.
Returns
Returns a boolean indicating if the passed in object obj is Equal to this.

◆ Equals() [2/2]

virtual ASPOSE_EMAIL_SHARED_API bool Aspose::Email::PersonalInfo::EmailAddressCategory::Equals ( System::SharedPtr< System::Object >  obj)
virtual

Determines whether the specified Object is equal to the current Object.

Parameters
objThe Object to compare with the current Object.
Returns
Returns a boolean indicating if the passed in object obj is Equal to this.

◆ get_Custom()

static ASPOSE_EMAIL_SHARED_API System::SharedPtr<EmailAddressCategory> Aspose::Email::PersonalInfo::EmailAddressCategory::get_Custom ( )
static

Custom category

◆ get_Description()

ASPOSE_EMAIL_SHARED_API System::String Aspose::Email::PersonalInfo::EmailAddressCategory::get_Description ( ) const

Gets description for the 'Custom' category of a email address

◆ get_Email1()

static ASPOSE_EMAIL_SHARED_API System::SharedPtr<EmailAddressCategory> Aspose::Email::PersonalInfo::EmailAddressCategory::get_Email1 ( )
static

Email1 category. Used by MS Exchange server.

◆ get_Email2()

static ASPOSE_EMAIL_SHARED_API System::SharedPtr<EmailAddressCategory> Aspose::Email::PersonalInfo::EmailAddressCategory::get_Email2 ( )
static

Email2 category. Used by MS Exchange server.

◆ get_Email3()

static ASPOSE_EMAIL_SHARED_API System::SharedPtr<EmailAddressCategory> Aspose::Email::PersonalInfo::EmailAddressCategory::get_Email3 ( )
static

Email3 category. Used by MS Exchange server.

◆ get_Home()

static ASPOSE_EMAIL_SHARED_API System::SharedPtr<EmailAddressCategory> Aspose::Email::PersonalInfo::EmailAddressCategory::get_Home ( )
static

Home category

◆ get_Value()

ASPOSE_EMAIL_SHARED_API System::String Aspose::Email::PersonalInfo::EmailAddressCategory::get_Value ( ) const

Gets category of a email address

◆ get_Work()

static ASPOSE_EMAIL_SHARED_API System::SharedPtr<EmailAddressCategory> Aspose::Email::PersonalInfo::EmailAddressCategory::get_Work ( )
static

Work category

◆ GetHashCode()

virtual ASPOSE_EMAIL_SHARED_API int32_t Aspose::Email::PersonalInfo::EmailAddressCategory::GetHashCode ( ) const
virtual

GetHashCode returns a hash function for this object.

Returns
Returns a hash function for this object.

◆ ToString()

virtual ASPOSE_EMAIL_SHARED_API System::String Aspose::Email::PersonalInfo::EmailAddressCategory::ToString ( ) const
virtual

Returns a string that represents the current object.

Returns
Returns a string that represents the current object.

Friends And Related Function Documentation

◆ Aspose::Email::Common::ContactConverter

friend class Aspose::Email::Common::ContactConverter
friend

◆ operator!=

ASPOSE_EMAIL_SHARED_API bool operator!= ( System::SharedPtr< EmailAddressCategory a,
System::SharedPtr< EmailAddressCategory b 
)
friend

◆ operator==

ASPOSE_EMAIL_SHARED_API bool operator== ( System::SharedPtr< EmailAddressCategory a,
System::SharedPtr< EmailAddressCategory b 
)
friend

Member Data Documentation

◆ CustomValue

const ASPOSE_EMAIL_SHARED_API System::String Aspose::Email::PersonalInfo::EmailAddressCategory::CustomValue
static

◆ Email1Value

const ASPOSE_EMAIL_SHARED_API System::String Aspose::Email::PersonalInfo::EmailAddressCategory::Email1Value
static

◆ Email2Value

const ASPOSE_EMAIL_SHARED_API System::String Aspose::Email::PersonalInfo::EmailAddressCategory::Email2Value
static

◆ Email3Value

const ASPOSE_EMAIL_SHARED_API System::String Aspose::Email::PersonalInfo::EmailAddressCategory::Email3Value
static

◆ HomeValue

const ASPOSE_EMAIL_SHARED_API System::String Aspose::Email::PersonalInfo::EmailAddressCategory::HomeValue
static

◆ WorkValue

const ASPOSE_EMAIL_SHARED_API System::String Aspose::Email::PersonalInfo::EmailAddressCategory::WorkValue
static