Aspose::Email::PersonalInfo::PhoneNumberCategory Class Reference

Represents category for a phone number More...

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

Public Member Functions

ASPOSE_EMAIL_SHARED_API System::String get_Value () const
 Gets category of a phone number More...
 
ASPOSE_EMAIL_SHARED_API System::String get_Description () const
 Gets description for the 'Custom' category of a phone number More...
 
ASPOSE_EMAIL_SHARED_API PhoneNumberCategory (System::String value, System::String description)
 Initializes a new instance of the PhoneNumberCategory class with 'Custom' category. More...
 
ASPOSE_EMAIL_SHARED_API PhoneNumberCategory (System::String description)
 Initializes a new instance of the PhoneNumberCategory 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< PhoneNumberCategory > other)
 Determines whether the specified object is equal to the current object. More...
 

Static Public Member Functions

static ASPOSE_EMAIL_SHARED_API System::SharedPtr< PhoneNumberCategoryget_Custom ()
 Custom phone category More...
 
static ASPOSE_EMAIL_SHARED_API System::SharedPtr< PhoneNumberCategoryget_Home ()
 Home phone number More...
 
static ASPOSE_EMAIL_SHARED_API System::SharedPtr< PhoneNumberCategoryget_Work ()
 Work phone number More...
 
static ASPOSE_EMAIL_SHARED_API System::SharedPtr< PhoneNumberCategoryget_Office ()
 Office phone number More...
 
static ASPOSE_EMAIL_SHARED_API System::SharedPtr< PhoneNumberCategoryget_Mobile ()
 Mobile phone number More...
 
static ASPOSE_EMAIL_SHARED_API System::SharedPtr< PhoneNumberCategoryget_Fax ()
 Fax number More...
 
static ASPOSE_EMAIL_SHARED_API System::SharedPtr< PhoneNumberCategoryget_HomeFax ()
 Home fax number More...
 
static ASPOSE_EMAIL_SHARED_API System::SharedPtr< PhoneNumberCategoryget_WorkFax ()
 Work fax number More...
 
static ASPOSE_EMAIL_SHARED_API System::SharedPtr< PhoneNumberCategoryget_Pager ()
 Pager number More...
 
static ASPOSE_EMAIL_SHARED_API System::SharedPtr< PhoneNumberCategoryget_Car ()
 Car phone number More...
 
static ASPOSE_EMAIL_SHARED_API System::SharedPtr< PhoneNumberCategoryget_Isdn ()
 Isdn phone number More...
 
static ASPOSE_EMAIL_SHARED_API System::SharedPtr< PhoneNumberCategoryget_Telex ()
 Telex More...
 
static ASPOSE_EMAIL_SHARED_API System::SharedPtr< PhoneNumberCategoryget_Callback ()
 Callback phone number More...
 
static ASPOSE_EMAIL_SHARED_API System::SharedPtr< PhoneNumberCategoryget_Radio ()
 Radio phone number More...
 
static ASPOSE_EMAIL_SHARED_API System::SharedPtr< PhoneNumberCategoryget_Company ()
 Company phone number More...
 
static ASPOSE_EMAIL_SHARED_API System::SharedPtr< PhoneNumberCategoryget_TtyTdd ()
 Tty/Tdd More...
 
static ASPOSE_EMAIL_SHARED_API System::SharedPtr< PhoneNumberCategoryget_Assistant ()
 Assistant phone number More...
 
static ASPOSE_EMAIL_SHARED_API System::SharedPtr< PhoneNumberCategoryget_Primary ()
 Primary phone number More...
 

Static Public Attributes

static const ASPOSE_EMAIL_SHARED_API System::String CustomValue
 
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 OfficeValue
 
static const ASPOSE_EMAIL_SHARED_API System::String MobileValue
 
static const ASPOSE_EMAIL_SHARED_API System::String FaxValue
 
static const ASPOSE_EMAIL_SHARED_API System::String HomeFaxValue
 
static const ASPOSE_EMAIL_SHARED_API System::String WorkFaxValue
 
static const ASPOSE_EMAIL_SHARED_API System::String PagerValue
 
static const ASPOSE_EMAIL_SHARED_API System::String CarValue
 
static const ASPOSE_EMAIL_SHARED_API System::String IsdnValue
 
static const ASPOSE_EMAIL_SHARED_API System::String TelexValue
 
static const ASPOSE_EMAIL_SHARED_API System::String CallbackValue
 
static const ASPOSE_EMAIL_SHARED_API System::String RadioValue
 
static const ASPOSE_EMAIL_SHARED_API System::String CompanyValue
 
static const ASPOSE_EMAIL_SHARED_API System::String TtyTddValue
 
static const ASPOSE_EMAIL_SHARED_API System::String AssistantValue
 
static const ASPOSE_EMAIL_SHARED_API System::String PrimaryValue
 

Friends

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

Detailed Description

Represents category for a phone number

Constructor & Destructor Documentation

◆ PhoneNumberCategory() [1/2]

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

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

Parameters
valuephone number category
descriptionDescription for the 'Custom' category of a phone number

◆ PhoneNumberCategory() [2/2]

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

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

Parameters
descriptionDescription for the 'Custom' category of a phone number

Member Function Documentation

◆ Equals() [1/2]

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

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

Parameters
otherThe object to compare with the current object.
Returns
true if the specified object is equal to the current object; otherwise, false.

◆ Equals() [2/2]

virtual ASPOSE_EMAIL_SHARED_API bool Aspose::Email::PersonalInfo::PhoneNumberCategory::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_Assistant()

static ASPOSE_EMAIL_SHARED_API System::SharedPtr<PhoneNumberCategory> Aspose::Email::PersonalInfo::PhoneNumberCategory::get_Assistant ( )
static

Assistant phone number

◆ get_Callback()

static ASPOSE_EMAIL_SHARED_API System::SharedPtr<PhoneNumberCategory> Aspose::Email::PersonalInfo::PhoneNumberCategory::get_Callback ( )
static

Callback phone number

◆ get_Car()

static ASPOSE_EMAIL_SHARED_API System::SharedPtr<PhoneNumberCategory> Aspose::Email::PersonalInfo::PhoneNumberCategory::get_Car ( )
static

Car phone number

◆ get_Company()

static ASPOSE_EMAIL_SHARED_API System::SharedPtr<PhoneNumberCategory> Aspose::Email::PersonalInfo::PhoneNumberCategory::get_Company ( )
static

Company phone number

◆ get_Custom()

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

Custom phone category

◆ get_Description()

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

Gets description for the 'Custom' category of a phone number

◆ get_Fax()

static ASPOSE_EMAIL_SHARED_API System::SharedPtr<PhoneNumberCategory> Aspose::Email::PersonalInfo::PhoneNumberCategory::get_Fax ( )
static

Fax number

◆ get_Home()

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

Home phone number

◆ get_HomeFax()

static ASPOSE_EMAIL_SHARED_API System::SharedPtr<PhoneNumberCategory> Aspose::Email::PersonalInfo::PhoneNumberCategory::get_HomeFax ( )
static

Home fax number

◆ get_Isdn()

static ASPOSE_EMAIL_SHARED_API System::SharedPtr<PhoneNumberCategory> Aspose::Email::PersonalInfo::PhoneNumberCategory::get_Isdn ( )
static

Isdn phone number

◆ get_Mobile()

static ASPOSE_EMAIL_SHARED_API System::SharedPtr<PhoneNumberCategory> Aspose::Email::PersonalInfo::PhoneNumberCategory::get_Mobile ( )
static

Mobile phone number

◆ get_Office()

static ASPOSE_EMAIL_SHARED_API System::SharedPtr<PhoneNumberCategory> Aspose::Email::PersonalInfo::PhoneNumberCategory::get_Office ( )
static

Office phone number

◆ get_Pager()

static ASPOSE_EMAIL_SHARED_API System::SharedPtr<PhoneNumberCategory> Aspose::Email::PersonalInfo::PhoneNumberCategory::get_Pager ( )
static

Pager number

◆ get_Primary()

static ASPOSE_EMAIL_SHARED_API System::SharedPtr<PhoneNumberCategory> Aspose::Email::PersonalInfo::PhoneNumberCategory::get_Primary ( )
static

Primary phone number

◆ get_Radio()

static ASPOSE_EMAIL_SHARED_API System::SharedPtr<PhoneNumberCategory> Aspose::Email::PersonalInfo::PhoneNumberCategory::get_Radio ( )
static

Radio phone number

◆ get_Telex()

static ASPOSE_EMAIL_SHARED_API System::SharedPtr<PhoneNumberCategory> Aspose::Email::PersonalInfo::PhoneNumberCategory::get_Telex ( )
static

Telex

◆ get_TtyTdd()

static ASPOSE_EMAIL_SHARED_API System::SharedPtr<PhoneNumberCategory> Aspose::Email::PersonalInfo::PhoneNumberCategory::get_TtyTdd ( )
static

Tty/Tdd

◆ get_Value()

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

Gets category of a phone number

◆ get_Work()

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

Work phone number

◆ get_WorkFax()

static ASPOSE_EMAIL_SHARED_API System::SharedPtr<PhoneNumberCategory> Aspose::Email::PersonalInfo::PhoneNumberCategory::get_WorkFax ( )
static

Work fax number

◆ GetHashCode()

virtual ASPOSE_EMAIL_SHARED_API int32_t Aspose::Email::PersonalInfo::PhoneNumberCategory::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::PhoneNumberCategory::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< PhoneNumberCategory a,
System::SharedPtr< PhoneNumberCategory b 
)
friend

◆ operator==

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

Member Data Documentation

◆ AssistantValue

const ASPOSE_EMAIL_SHARED_API System::String Aspose::Email::PersonalInfo::PhoneNumberCategory::AssistantValue
static

◆ CallbackValue

const ASPOSE_EMAIL_SHARED_API System::String Aspose::Email::PersonalInfo::PhoneNumberCategory::CallbackValue
static

◆ CarValue

const ASPOSE_EMAIL_SHARED_API System::String Aspose::Email::PersonalInfo::PhoneNumberCategory::CarValue
static

◆ CompanyValue

const ASPOSE_EMAIL_SHARED_API System::String Aspose::Email::PersonalInfo::PhoneNumberCategory::CompanyValue
static

◆ CustomValue

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

◆ FaxValue

const ASPOSE_EMAIL_SHARED_API System::String Aspose::Email::PersonalInfo::PhoneNumberCategory::FaxValue
static

◆ HomeFaxValue

const ASPOSE_EMAIL_SHARED_API System::String Aspose::Email::PersonalInfo::PhoneNumberCategory::HomeFaxValue
static

◆ HomeValue

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

◆ IsdnValue

const ASPOSE_EMAIL_SHARED_API System::String Aspose::Email::PersonalInfo::PhoneNumberCategory::IsdnValue
static

◆ MobileValue

const ASPOSE_EMAIL_SHARED_API System::String Aspose::Email::PersonalInfo::PhoneNumberCategory::MobileValue
static

◆ OfficeValue

const ASPOSE_EMAIL_SHARED_API System::String Aspose::Email::PersonalInfo::PhoneNumberCategory::OfficeValue
static

◆ PagerValue

const ASPOSE_EMAIL_SHARED_API System::String Aspose::Email::PersonalInfo::PhoneNumberCategory::PagerValue
static

◆ PrimaryValue

const ASPOSE_EMAIL_SHARED_API System::String Aspose::Email::PersonalInfo::PhoneNumberCategory::PrimaryValue
static

◆ RadioValue

const ASPOSE_EMAIL_SHARED_API System::String Aspose::Email::PersonalInfo::PhoneNumberCategory::RadioValue
static

◆ TelexValue

const ASPOSE_EMAIL_SHARED_API System::String Aspose::Email::PersonalInfo::PhoneNumberCategory::TelexValue
static

◆ TtyTddValue

const ASPOSE_EMAIL_SHARED_API System::String Aspose::Email::PersonalInfo::PhoneNumberCategory::TtyTddValue
static

◆ WorkFaxValue

const ASPOSE_EMAIL_SHARED_API System::String Aspose::Email::PersonalInfo::PhoneNumberCategory::WorkFaxValue
static

◆ WorkValue

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