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

Represents category for a phone number More...

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

Public Member Functions

System::String get_Value () const
 Gets category of a phone number More...
 
System::String get_Description () const
 Gets description for the 'Custom' category of a phone number More...
 
 PhoneNumberCategory (System::String value, System::String description)
 Initializes a new instance of the PhoneNumberCategory class with 'Custom' category. More...
 
 PhoneNumberCategory (System::String description)
 Initializes a new instance of the PhoneNumberCategory 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< PhoneNumberCategory > 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< PhoneNumberCategoryget_Custom ()
 Custom phone category More...
 
static System::SharedPtr< PhoneNumberCategoryget_Home ()
 Home phone number More...
 
static System::SharedPtr< PhoneNumberCategoryget_Work ()
 Work phone number More...
 
static System::SharedPtr< PhoneNumberCategoryget_Office ()
 Office phone number More...
 
static System::SharedPtr< PhoneNumberCategoryget_Mobile ()
 Mobile phone number More...
 
static System::SharedPtr< PhoneNumberCategoryget_Fax ()
 Fax number More...
 
static System::SharedPtr< PhoneNumberCategoryget_HomeFax ()
 Home fax number More...
 
static System::SharedPtr< PhoneNumberCategoryget_WorkFax ()
 Work fax number More...
 
static System::SharedPtr< PhoneNumberCategoryget_Pager ()
 Pager number More...
 
static System::SharedPtr< PhoneNumberCategoryget_Car ()
 Car phone number More...
 
static System::SharedPtr< PhoneNumberCategoryget_Isdn ()
 Isdn phone number More...
 
static System::SharedPtr< PhoneNumberCategoryget_Telex ()
 Telex More...
 
static System::SharedPtr< PhoneNumberCategoryget_Callback ()
 Callback phone number More...
 
static System::SharedPtr< PhoneNumberCategoryget_Radio ()
 Radio phone number More...
 
static System::SharedPtr< PhoneNumberCategoryget_Company ()
 Company phone number More...
 
static System::SharedPtr< PhoneNumberCategoryget_TtyTdd ()
 Tty/Tdd More...
 
static System::SharedPtr< PhoneNumberCategoryget_Assistant ()
 Assistant phone number More...
 
static System::SharedPtr< PhoneNumberCategoryget_Primary ()
 Primary phone number More...
 

Static Public Attributes

static const System::String CustomValue
 String value for 'Custom' category More...
 
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 OfficeValue
 String value for 'Office' category More...
 
static const System::String MobileValue
 String value for 'Mobile' category More...
 
static const System::String FaxValue
 String value for 'Fax' category More...
 
static const System::String HomeFaxValue
 String value for 'Fax' category More...
 
static const System::String WorkFaxValue
 String value for 'Fax' category More...
 
static const System::String PagerValue
 String value for 'Pager' category More...
 
static const System::String CarValue
 String value for 'Car' category More...
 
static const System::String IsdnValue
 String value for 'Isdn' category More...
 
static const System::String TelexValue
 String value for 'Telex' category More...
 
static const System::String CallbackValue
 String value for 'Callback' category More...
 
static const System::String RadioValue
 String value for 'Radio' category More...
 
static const System::String CompanyValue
 String value for 'Company' category More...
 
static const System::String TtyTddValue
 String value for 'TtyTdd' category More...
 
static const System::String AssistantValue
 String value for 'Assistant' category More...
 
static const System::String PrimaryValue
 String value for 'Primary' category More...
 

Friends

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

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

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]

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

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

Assistant phone number

◆ get_Callback()

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

Callback phone number

◆ get_Car()

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

Car phone number

◆ get_Company()

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

Company phone number

◆ get_Custom()

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

Custom phone category

◆ get_Description()

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

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

◆ get_Fax()

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

Fax number

◆ get_Home()

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

Home phone number

◆ get_HomeFax()

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

Home fax number

◆ get_Isdn()

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

Isdn phone number

◆ get_Mobile()

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

Mobile phone number

◆ get_Office()

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

Office phone number

◆ get_Pager()

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

Pager number

◆ get_Primary()

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

Primary phone number

◆ get_Radio()

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

Radio phone number

◆ get_Telex()

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

Telex

◆ get_TtyTdd()

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

Tty/Tdd

◆ get_Value()

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

Gets category of a phone number

◆ get_Work()

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

Work phone number

◆ get_WorkFax()

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

Work fax number

◆ GetHashCode()

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

◆ operator==

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

Member Data Documentation

◆ AssistantValue

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

String value for 'Assistant' category

◆ CallbackValue

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

String value for 'Callback' category

◆ CarValue

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

String value for 'Car' category

◆ CompanyValue

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

String value for 'Company' category

◆ CustomValue

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

String value for 'Custom' category

◆ FaxValue

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

String value for 'Fax' category

◆ HomeFaxValue

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

String value for 'Fax' category

◆ HomeValue

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

String value for 'Home' category

◆ IsdnValue

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

String value for 'Isdn' category

◆ MobileValue

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

String value for 'Mobile' category

◆ OfficeValue

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

String value for 'Office' category

◆ PagerValue

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

String value for 'Pager' category

◆ PrimaryValue

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

String value for 'Primary' category

◆ RadioValue

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

String value for 'Radio' category

◆ TelexValue

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

String value for 'Telex' category

◆ TtyTddValue

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

String value for 'TtyTdd' category

◆ WorkFaxValue

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

String value for 'Fax' category

◆ WorkValue

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

String value for 'Work' category