Aspose::Email::PersonalInfo::UrlCategory Class Reference

Represents category for a URL More...

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

Public Member Functions

System::String get_Value () const
 Gets category of a URL More...
 
System::String get_Description () const
 Gets description for the 'Custom' category of a URL More...
 
 UrlCategory (System::String value, System::String description)
 Initializes a new instance of the UrlCategory class with 'Custom' category. More...
 
 UrlCategory (System::String description)
 Initializes a new instance of the UrlCategory class with 'Custom' category. More...
 
bool Equals (System::SharedPtr< UrlCategory > other) override
 Determines whether the specified object is equal to the current object. 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...
 
System::String ToString () const override
 Returns a string that represents the current object. More...
 

Static Public Member Functions

static System::SharedPtr< UrlCategoryget_Profile ()
 Profile URL More...
 
static System::SharedPtr< UrlCategoryget_HomePage ()
 Home page URL More...
 
static System::SharedPtr< UrlCategoryget_Home ()
 Contact's home-related site. More...
 
static System::SharedPtr< UrlCategoryget_Work ()
 Contact's work-related site. More...
 
static System::SharedPtr< UrlCategoryget_Blog ()
 Blog URL More...
 
static System::SharedPtr< UrlCategoryget_Ftp ()
 Ftp URL More...
 
static System::SharedPtr< UrlCategoryget_Custom ()
 Custom page URL More...
 

Static Public Attributes

static const System::String ProfileValue
 String value for 'Profile' category More...
 
static const System::String HomePageValue
 String value for 'HomePage' 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 BlogValue
 String value for 'Blog' category More...
 
static const System::String FtpValue
 String value for 'Ftp' category More...
 
static const System::String CustomValue
 String value for 'Custom' category More...
 

Friends

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

Detailed Description

Represents category for a URL

Constructor & Destructor Documentation

◆ UrlCategory() [1/2]

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

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

Parameters
valueURL category
descriptionDescription for the 'Custom' category of a URL

◆ UrlCategory() [2/2]

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

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

Parameters
descriptionDescription for the 'Custom' category of a URL

Member Function Documentation

◆ Equals() [1/2]

bool Aspose::Email::PersonalInfo::UrlCategory::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.

◆ Equals() [2/2]

bool Aspose::Email::PersonalInfo::UrlCategory::Equals ( System::SharedPtr< UrlCategory 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.

◆ get_Blog()

static System::SharedPtr<UrlCategory> Aspose::Email::PersonalInfo::UrlCategory::get_Blog ( )
static

Blog URL

◆ get_Custom()

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

Custom page URL

◆ get_Description()

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

Gets description for the 'Custom' category of a URL

◆ get_Ftp()

static System::SharedPtr<UrlCategory> Aspose::Email::PersonalInfo::UrlCategory::get_Ftp ( )
static

Ftp URL

◆ get_Home()

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

Contact's home-related site.

◆ get_HomePage()

static System::SharedPtr<UrlCategory> Aspose::Email::PersonalInfo::UrlCategory::get_HomePage ( )
static

Home page URL

◆ get_Profile()

static System::SharedPtr<UrlCategory> Aspose::Email::PersonalInfo::UrlCategory::get_Profile ( )
static

Profile URL

◆ get_Value()

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

Gets category of a URL

◆ get_Work()

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

Contact's work-related site.

◆ GetHashCode()

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

◆ operator==

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

Member Data Documentation

◆ BlogValue

const System::String Aspose::Email::PersonalInfo::UrlCategory::BlogValue
static

String value for 'Blog' category

◆ CustomValue

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

String value for 'Custom' category

◆ FtpValue

const System::String Aspose::Email::PersonalInfo::UrlCategory::FtpValue
static

String value for 'Ftp' category

◆ HomePageValue

const System::String Aspose::Email::PersonalInfo::UrlCategory::HomePageValue
static

String value for 'HomePage' category

◆ HomeValue

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

String value for 'Home' category

◆ ProfileValue

const System::String Aspose::Email::PersonalInfo::UrlCategory::ProfileValue
static

String value for 'Profile' category

◆ WorkValue

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

String value for 'Work' category