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

Represents category for an email address More...

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

Public Member Functions

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

Static Public Member Functions

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

Static Public Attributes

static const System::String HomeValue
 String value for 'Home' category More...
 
static const System::String WorkValue
 String value for 'Work' category More...
 
static const System::String CustomValue
 String value for 'Custom' category More...
 
static const System::String Email1Value
 String value for 'Email1' category More...
 
static const System::String Email2Value
 String value for 'Email2' category More...
 
static const System::String Email3Value
 String value for 'Email3' category More...
 
static const System::String EmailValue
 String value for 'Email' category More...
 

Friends

class Aspose::Email::Tools::ContactConverter
 
bool operator== (System::SharedPtr< EmailAddressCategory > a, System::SharedPtr< EmailAddressCategory > b)
 
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::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::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]

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

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]

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

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 System::SharedPtr<EmailAddressCategory> Aspose::Email::PersonalInfo::EmailAddressCategory::get_Custom ( )
static

Custom category

◆ get_Description()

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

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

◆ get_Email()

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

Email category. Used by MS Exchange server.

◆ get_Email1()

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

Email1 category. Used by MS Exchange server.

◆ get_Email2()

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

Email2 category. Used by MS Exchange server.

◆ get_Email3()

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

Email3 category. Used by MS Exchange server.

◆ get_Home()

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

Home category

◆ get_Value()

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

Gets category of a email address

◆ get_Work()

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

Work category

◆ GetHashCode()

int32_t Aspose::Email::PersonalInfo::EmailAddressCategory::GetHashCode ( ) const
override

GetHashCode returns a hash function for this object.

Returns
Returns a hash function for this object.

◆ ToString()

System::String Aspose::Email::PersonalInfo::EmailAddressCategory::ToString ( ) const
override

Returns a string that represents the current object.

Returns
Returns a string that represents the current object.

Friends And Related Function Documentation

◆ Aspose::Email::Tools::ContactConverter

friend class Aspose::Email::Tools::ContactConverter
friend

◆ operator!=

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

◆ operator==

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

Member Data Documentation

◆ CustomValue

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

String value for 'Custom' category

◆ Email1Value

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

String value for 'Email1' category

◆ Email2Value

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

String value for 'Email2' category

◆ Email3Value

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

String value for 'Email3' category

◆ EmailValue

const System::String Aspose::Email::PersonalInfo::EmailAddressCategory::EmailValue
static

String value for 'Email' category

◆ HomeValue

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

String value for 'Home' category

◆ WorkValue

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

String value for 'Work' category