Represents category for a postal address More...
Inherits IEquatable< System::SharedPtr< Aspose::Email::PersonalInfo::PostalAddressCategory > >.
Public Member Functions | |
| System::String | get_Value () const |
| Gets category of a postal address More... | |
| System::String | get_Description () const |
| Gets description for the 'Custom' category of a postal address More... | |
| PostalAddressCategory (System::String value, System::String description) | |
| Initializes a new instance of the PostalAddressCategory class with 'Custom' category. More... | |
| PostalAddressCategory (System::String description) | |
| Initializes a new instance of the PostalAddressCategory 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< PostalAddressCategory > 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< PostalAddressCategory > | get_Home () |
| Defines a type of an address as a home address. More... | |
| static System::SharedPtr< PostalAddressCategory > | get_Work () |
| Defines a type of an address as a work address. More... | |
| static System::SharedPtr< PostalAddressCategory > | get_Custom () |
| Defines a type of an address as an address of type other. More... | |
Static Public Attributes | |
| 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 | CustomValue |
| String value for 'Custom' category More... | |
Friends | |
| bool | operator== (System::SharedPtr< PostalAddressCategory > a, System::SharedPtr< PostalAddressCategory > b) |
| bool | operator!= (System::SharedPtr< PostalAddressCategory > a, System::SharedPtr< PostalAddressCategory > b) |
Represents category for a postal address
| Aspose::Email::PersonalInfo::PostalAddressCategory::PostalAddressCategory | ( | System::String | value, |
| System::String | description | ||
| ) |
Initializes a new instance of the PostalAddressCategory class with 'Custom' category.
| value | postal address category |
| description | Description for the 'Custom' category of a postal address |
| Aspose::Email::PersonalInfo::PostalAddressCategory::PostalAddressCategory | ( | System::String | description | ) |
Initializes a new instance of the PostalAddressCategory class with 'Custom' category.
| description | Description for the 'Custom' category of a postal address |
|
override |
Determines whether the specified object is equal to the current object.
| other | The object to compare with the current object. |
|
override |
Determines whether the specified Object is equal to the current Object.
| obj | The Object to compare with the current Object. |
|
static |
Defines a type of an address as an address of type other.
| System::String Aspose::Email::PersonalInfo::PostalAddressCategory::get_Description | ( | ) | const |
Gets description for the 'Custom' category of a postal address
|
static |
Defines a type of an address as a home address.
| System::String Aspose::Email::PersonalInfo::PostalAddressCategory::get_Value | ( | ) | const |
Gets category of a postal address
|
static |
Defines a type of an address as a work address.
|
override |
GetHashCode returns a hash function for this object.
|
override |
Returns a string that represents the current object.
|
friend |
|
friend |
|
static |
String value for 'Custom' category
|
static |
String value for 'Home' category
|
static |
String value for 'Work' category