Objects represents a URL and its category. More...
Inherits IComparable< System::SharedPtr< Aspose::Email::PersonalInfo::Url > >.
Public Member Functions | |
ASPOSE_EMAIL_SHARED_API bool | get_Prefered () const |
Gets a value which defines whether object is preferred. More... | |
ASPOSE_EMAIL_SHARED_API void | set_Prefered (bool value) |
Sets a value which defines whether object is preferred. More... | |
ASPOSE_EMAIL_SHARED_API System::SharedPtr< UrlCategory > | get_Category () const |
Gets an object category More... | |
ASPOSE_EMAIL_SHARED_API void | set_Category (System::SharedPtr< UrlCategory > value) |
Sets an object category More... | |
ASPOSE_EMAIL_SHARED_API System::String | get_Href () const |
Gets a URL More... | |
ASPOSE_EMAIL_SHARED_API void | set_Href (System::String value) |
Sets a URL More... | |
virtual ASPOSE_EMAIL_SHARED_API System::String | ToString () |
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 int32_t | GetHashCode (System::SharedPtr< Url > obj) |
GetHashCode returns a hash function for specified object. More... | |
ASPOSE_EMAIL_SHARED_API bool | Equals (System::SharedPtr< Url > obj) |
Determines whether the specified Object is equal to the current Object. More... | |
ASPOSE_EMAIL_SHARED_API bool | Equals (System::SharedPtr< Url > x, System::SharedPtr< Url > y) |
Determines whether the specified object instances are considered equal. More... | |
virtual ASPOSE_EMAIL_SHARED_API int32_t | CompareTo (System::SharedPtr< Url > pn) |
Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object. More... | |
ASPOSE_EMAIL_SHARED_API | Url () |
ASPOSE_EMAIL_SHARED_API System::String | ToString () const override |
Friends | |
ASPOSE_EMAIL_SHARED_API bool | operator== (System::SharedPtr< Url > a, System::SharedPtr< Url > b) |
ASPOSE_EMAIL_SHARED_API bool | operator!= (System::SharedPtr< Url > a, System::SharedPtr< Url > b) |
Objects represents a URL and its category.
ASPOSE_EMAIL_SHARED_API Aspose::Email::PersonalInfo::Url::Url | ( | ) |
|
virtual |
Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.
obj | An object to compare with this instance, or null. |
ASPOSE_EMAIL_SHARED_API bool Aspose::Email::PersonalInfo::Url::Equals | ( | System::SharedPtr< Url > | obj | ) |
Determines whether the specified Object is equal to the current Object.
obj | The Object to compare with the current Object. |
ASPOSE_EMAIL_SHARED_API bool Aspose::Email::PersonalInfo::Url::Equals | ( | System::SharedPtr< Url > | x, |
System::SharedPtr< Url > | y | ||
) |
Determines whether the specified object instances are considered equal.
x | The first object to compare. |
y | The second object to compare. |
ASPOSE_EMAIL_SHARED_API System::SharedPtr<UrlCategory> Aspose::Email::PersonalInfo::Url::get_Category | ( | ) | const |
Gets an object category
ASPOSE_EMAIL_SHARED_API System::String Aspose::Email::PersonalInfo::Url::get_Href | ( | ) | const |
Gets a URL
ASPOSE_EMAIL_SHARED_API bool Aspose::Email::PersonalInfo::Url::get_Prefered | ( | ) | const |
Gets a value which defines whether object is preferred.
|
virtual |
GetHashCode returns a hash function for this object.
|
virtual |
GetHashCode returns a hash function for specified object.
obj | The Object for which a hash code is to be returned. |
ASPOSE_EMAIL_SHARED_API void Aspose::Email::PersonalInfo::Url::set_Category | ( | System::SharedPtr< UrlCategory > | value | ) |
Sets an object category
ASPOSE_EMAIL_SHARED_API void Aspose::Email::PersonalInfo::Url::set_Href | ( | System::String | value | ) |
Sets a URL
ASPOSE_EMAIL_SHARED_API void Aspose::Email::PersonalInfo::Url::set_Prefered | ( | bool | value | ) |
Sets a value which defines whether object is preferred.
|
virtual |
Returns a string that represents the current object.
|
override |
|
friend |