Aspose::Email::PersonalInfo::AssociatedPersonCategory Class Reference

Represents category for a persons More...

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

Public Member Functions

System::String get_Value () const
 Gets category of a person More...
 
System::String get_Description () const
 Gets description for the 'Custom' category of a person More...
 
 AssociatedPersonCategory (System::String value, System::String description)
 Initializes a new instance of the AssociatedPersonCategory class with 'Custom' category. More...
 
 AssociatedPersonCategory (System::String description)
 Initializes a new instance of the AssociatedPersonCategory 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< AssociatedPersonCategory > 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< AssociatedPersonCategoryget_Spouse ()
 Spouse More...
 
static System::SharedPtr< AssociatedPersonCategoryget_Child ()
 Child More...
 
static System::SharedPtr< AssociatedPersonCategoryget_Mother ()
 Mother More...
 
static System::SharedPtr< AssociatedPersonCategoryget_Father ()
 Father More...
 
static System::SharedPtr< AssociatedPersonCategoryget_Parent ()
 Parent More...
 
static System::SharedPtr< AssociatedPersonCategoryget_Brother ()
 Brother More...
 
static System::SharedPtr< AssociatedPersonCategoryget_Sister ()
 Sister More...
 
static System::SharedPtr< AssociatedPersonCategoryget_Friend ()
 Friend More...
 
static System::SharedPtr< AssociatedPersonCategoryget_Relative ()
 Relative More...
 
static System::SharedPtr< AssociatedPersonCategoryget_Manager ()
 Manager More...
 
static System::SharedPtr< AssociatedPersonCategoryget_Assistant ()
 Assistant More...
 
static System::SharedPtr< AssociatedPersonCategoryget_ReferredBy ()
 Referred by More...
 
static System::SharedPtr< AssociatedPersonCategoryget_Partner ()
 Partner More...
 
static System::SharedPtr< AssociatedPersonCategoryget_DomesticPartner ()
 Domestic partner More...
 
static System::SharedPtr< AssociatedPersonCategoryget_Custom ()
 Custom category with empty description More...
 

Static Public Attributes

static const System::String SpouseValue
 String value for 'Spouse' category More...
 
static const System::String ChildValue
 String value for 'Child' category More...
 
static const System::String MotherValue
 String value for 'Mother' category More...
 
static const System::String FatherValue
 String value for 'Father' category More...
 
static const System::String ParentValue
 String value for 'Parent' category More...
 
static const System::String BrotherValue
 String value for 'Brother' category More...
 
static const System::String SisterValue
 String value for 'Sister' category More...
 
static const System::String FriendValue
 String value for 'Friend' category More...
 
static const System::String RelativeValue
 String value for 'Relative' category More...
 
static const System::String ManagerValue
 String value for 'Manager' category More...
 
static const System::String AssistantValue
 String value for 'Assistant' category More...
 
static const System::String ReferredByValue
 String value for 'ReferredBy' category More...
 
static const System::String PartnerValue
 String value for 'Partner' category More...
 
static const System::String DomesticPartnerValue
 String value for 'DomesticPartner' category More...
 
static const System::String CustomValue
 String value for 'Custom' category More...
 

Friends

bool operator== (System::SharedPtr< AssociatedPersonCategory > a, System::SharedPtr< AssociatedPersonCategory > b)
 
bool operator!= (System::SharedPtr< AssociatedPersonCategory > a, System::SharedPtr< AssociatedPersonCategory > b)
 

Detailed Description

Represents category for a persons

Constructor & Destructor Documentation

◆ AssociatedPersonCategory() [1/2]

Aspose::Email::PersonalInfo::AssociatedPersonCategory::AssociatedPersonCategory ( System::String  value,
System::String  description 
)

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

Parameters
valuePerson category
descriptionDescription for the 'Custom' category of a person

◆ AssociatedPersonCategory() [2/2]

Aspose::Email::PersonalInfo::AssociatedPersonCategory::AssociatedPersonCategory ( System::String  description)

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

Parameters
descriptionDescription for the 'Custom' category of a person

Member Function Documentation

◆ Equals() [1/2]

bool Aspose::Email::PersonalInfo::AssociatedPersonCategory::Equals ( System::SharedPtr< AssociatedPersonCategory 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::AssociatedPersonCategory::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<AssociatedPersonCategory> Aspose::Email::PersonalInfo::AssociatedPersonCategory::get_Assistant ( )
static

Assistant

◆ get_Brother()

static System::SharedPtr<AssociatedPersonCategory> Aspose::Email::PersonalInfo::AssociatedPersonCategory::get_Brother ( )
static

Brother

◆ get_Child()

static System::SharedPtr<AssociatedPersonCategory> Aspose::Email::PersonalInfo::AssociatedPersonCategory::get_Child ( )
static

Child

◆ get_Custom()

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

Custom category with empty description

◆ get_Description()

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

Gets description for the 'Custom' category of a person

◆ get_DomesticPartner()

static System::SharedPtr<AssociatedPersonCategory> Aspose::Email::PersonalInfo::AssociatedPersonCategory::get_DomesticPartner ( )
static

Domestic partner

◆ get_Father()

static System::SharedPtr<AssociatedPersonCategory> Aspose::Email::PersonalInfo::AssociatedPersonCategory::get_Father ( )
static

Father

◆ get_Friend()

static System::SharedPtr<AssociatedPersonCategory> Aspose::Email::PersonalInfo::AssociatedPersonCategory::get_Friend ( )
static

Friend

◆ get_Manager()

static System::SharedPtr<AssociatedPersonCategory> Aspose::Email::PersonalInfo::AssociatedPersonCategory::get_Manager ( )
static

Manager

◆ get_Mother()

static System::SharedPtr<AssociatedPersonCategory> Aspose::Email::PersonalInfo::AssociatedPersonCategory::get_Mother ( )
static

Mother

◆ get_Parent()

static System::SharedPtr<AssociatedPersonCategory> Aspose::Email::PersonalInfo::AssociatedPersonCategory::get_Parent ( )
static

Parent

◆ get_Partner()

static System::SharedPtr<AssociatedPersonCategory> Aspose::Email::PersonalInfo::AssociatedPersonCategory::get_Partner ( )
static

Partner

◆ get_ReferredBy()

static System::SharedPtr<AssociatedPersonCategory> Aspose::Email::PersonalInfo::AssociatedPersonCategory::get_ReferredBy ( )
static

Referred by

◆ get_Relative()

static System::SharedPtr<AssociatedPersonCategory> Aspose::Email::PersonalInfo::AssociatedPersonCategory::get_Relative ( )
static

Relative

◆ get_Sister()

static System::SharedPtr<AssociatedPersonCategory> Aspose::Email::PersonalInfo::AssociatedPersonCategory::get_Sister ( )
static

Sister

◆ get_Spouse()

static System::SharedPtr<AssociatedPersonCategory> Aspose::Email::PersonalInfo::AssociatedPersonCategory::get_Spouse ( )
static

Spouse

◆ get_Value()

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

Gets category of a person

◆ GetHashCode()

int32_t Aspose::Email::PersonalInfo::AssociatedPersonCategory::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::AssociatedPersonCategory::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

◆ operator!=

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

◆ operator==

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

Member Data Documentation

◆ AssistantValue

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

String value for 'Assistant' category

◆ BrotherValue

const System::String Aspose::Email::PersonalInfo::AssociatedPersonCategory::BrotherValue
static

String value for 'Brother' category

◆ ChildValue

const System::String Aspose::Email::PersonalInfo::AssociatedPersonCategory::ChildValue
static

String value for 'Child' category

◆ CustomValue

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

String value for 'Custom' category

◆ DomesticPartnerValue

const System::String Aspose::Email::PersonalInfo::AssociatedPersonCategory::DomesticPartnerValue
static

String value for 'DomesticPartner' category

◆ FatherValue

const System::String Aspose::Email::PersonalInfo::AssociatedPersonCategory::FatherValue
static

String value for 'Father' category

◆ FriendValue

const System::String Aspose::Email::PersonalInfo::AssociatedPersonCategory::FriendValue
static

String value for 'Friend' category

◆ ManagerValue

const System::String Aspose::Email::PersonalInfo::AssociatedPersonCategory::ManagerValue
static

String value for 'Manager' category

◆ MotherValue

const System::String Aspose::Email::PersonalInfo::AssociatedPersonCategory::MotherValue
static

String value for 'Mother' category

◆ ParentValue

const System::String Aspose::Email::PersonalInfo::AssociatedPersonCategory::ParentValue
static

String value for 'Parent' category

◆ PartnerValue

const System::String Aspose::Email::PersonalInfo::AssociatedPersonCategory::PartnerValue
static

String value for 'Partner' category

◆ ReferredByValue

const System::String Aspose::Email::PersonalInfo::AssociatedPersonCategory::ReferredByValue
static

String value for 'ReferredBy' category

◆ RelativeValue

const System::String Aspose::Email::PersonalInfo::AssociatedPersonCategory::RelativeValue
static

String value for 'Relative' category

◆ SisterValue

const System::String Aspose::Email::PersonalInfo::AssociatedPersonCategory::SisterValue
static

String value for 'Sister' category

◆ SpouseValue

const System::String Aspose::Email::PersonalInfo::AssociatedPersonCategory::SpouseValue
static

String value for 'Spouse' category