Represents a postal address. More...
Inherits IComparable< System::SharedPtr< Aspose::Email::PersonalInfo::PostalAddress > >, and IEquatable< System::SharedPtr< Aspose::Email::PersonalInfo::PostalAddress > >.
Public Member Functions | |
bool | get_Prefered () const |
Gets a value which defines whether postal address is preferred. More... | |
void | set_Prefered (bool value) |
Sets a value which defines whether postal address is preferred. More... | |
System::SharedPtr< PostalAddressCategory > | get_Category () const |
Gets an object category More... | |
void | set_Category (System::SharedPtr< PostalAddressCategory > value) |
Sets an object category More... | |
bool | get_IsMailingAddress () const |
Gets a value which defines whether address may be used for mailing. More... | |
void | set_IsMailingAddress (bool value) |
Sets a value which defines whether address may be used for mailing. More... | |
System::String | get_Street () const |
Gets a street More... | |
void | set_Street (System::String value) |
Sets a street More... | |
System::String | get_City () const |
Gets a city More... | |
void | set_City (System::String value) |
Sets a city More... | |
System::String | get_Address () const |
Gets an address More... | |
void | set_Address (System::String value) |
Sets an address More... | |
System::String | get_CountryCode () const |
Gets a country code More... | |
void | set_CountryCode (System::String value) |
Sets a country code More... | |
System::String | get_PostOfficeBox () const |
Gets a post Office box More... | |
void | set_PostOfficeBox (System::String value) |
Sets a post Office box More... | |
System::String | get_Country () const |
Gets a country More... | |
void | set_Country (System::String value) |
Sets a country More... | |
System::String | get_PostalCode () const |
Gets a post code More... | |
void | set_PostalCode (System::String value) |
Sets a post code More... | |
System::String | get_StateOrProvince () const |
Gets a region More... | |
void | set_StateOrProvince (System::String value) |
Sets a region More... | |
virtual int32_t | GetHashCode (System::SharedPtr< PostalAddress > obj) |
GetHashCode returns a hash function for specified object. More... | |
bool | Equals (System::SharedPtr< PostalAddress > obj) override |
bool | Equals (System::SharedPtr< System::Object > obj) override |
Determines whether the specified Object is equal to the current Object. More... | |
bool | Equals (System::SharedPtr< PostalAddress > x, System::SharedPtr< PostalAddress > y) |
Determines whether the specified object instances are considered equal. More... | |
int32_t | CompareTo (System::SharedPtr< PostalAddress > obj) override |
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... | |
PostalAddress () | |
System::String | ToString () const override |
Returns a string that represents the current object. More... | |
int32_t | GetHashCode () const override |
GetHashCode returns a hash function for this object. More... | |
Friends | |
bool | operator== (System::SharedPtr< PostalAddress > a, System::SharedPtr< PostalAddress > b) |
bool | operator!= (System::SharedPtr< PostalAddress > a, System::SharedPtr< PostalAddress > b) |
Represents a postal address.
Aspose::Email::PersonalInfo::PostalAddress::PostalAddress | ( | ) |
|
override |
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. |
|
override |
bool Aspose::Email::PersonalInfo::PostalAddress::Equals | ( | System::SharedPtr< PostalAddress > | x, |
System::SharedPtr< PostalAddress > | y | ||
) |
Determines whether the specified object instances are considered equal.
x | The first object to compare. |
y | The second object to compare. |
|
override |
Determines whether the specified Object is equal to the current Object.
obj | The Object to compare with the current Object. |
System::String Aspose::Email::PersonalInfo::PostalAddress::get_Address | ( | ) | const |
Gets an address
System::SharedPtr<PostalAddressCategory> Aspose::Email::PersonalInfo::PostalAddress::get_Category | ( | ) | const |
Gets an object category
System::String Aspose::Email::PersonalInfo::PostalAddress::get_City | ( | ) | const |
Gets a city
System::String Aspose::Email::PersonalInfo::PostalAddress::get_Country | ( | ) | const |
Gets a country
System::String Aspose::Email::PersonalInfo::PostalAddress::get_CountryCode | ( | ) | const |
Gets a country code
bool Aspose::Email::PersonalInfo::PostalAddress::get_IsMailingAddress | ( | ) | const |
Gets a value which defines whether address may be used for mailing.
System::String Aspose::Email::PersonalInfo::PostalAddress::get_PostalCode | ( | ) | const |
Gets a post code
System::String Aspose::Email::PersonalInfo::PostalAddress::get_PostOfficeBox | ( | ) | const |
Gets a post Office box
bool Aspose::Email::PersonalInfo::PostalAddress::get_Prefered | ( | ) | const |
Gets a value which defines whether postal address is preferred.
System::String Aspose::Email::PersonalInfo::PostalAddress::get_StateOrProvince | ( | ) | const |
Gets a region
System::String Aspose::Email::PersonalInfo::PostalAddress::get_Street | ( | ) | const |
Gets a street
|
override |
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. |
void Aspose::Email::PersonalInfo::PostalAddress::set_Address | ( | System::String | value | ) |
Sets an address
void Aspose::Email::PersonalInfo::PostalAddress::set_Category | ( | System::SharedPtr< PostalAddressCategory > | value | ) |
Sets an object category
void Aspose::Email::PersonalInfo::PostalAddress::set_City | ( | System::String | value | ) |
Sets a city
void Aspose::Email::PersonalInfo::PostalAddress::set_Country | ( | System::String | value | ) |
Sets a country
void Aspose::Email::PersonalInfo::PostalAddress::set_CountryCode | ( | System::String | value | ) |
Sets a country code
void Aspose::Email::PersonalInfo::PostalAddress::set_IsMailingAddress | ( | bool | value | ) |
Sets a value which defines whether address may be used for mailing.
void Aspose::Email::PersonalInfo::PostalAddress::set_PostalCode | ( | System::String | value | ) |
Sets a post code
void Aspose::Email::PersonalInfo::PostalAddress::set_PostOfficeBox | ( | System::String | value | ) |
Sets a post Office box
void Aspose::Email::PersonalInfo::PostalAddress::set_Prefered | ( | bool | value | ) |
Sets a value which defines whether postal address is preferred.
void Aspose::Email::PersonalInfo::PostalAddress::set_StateOrProvince | ( | System::String | value | ) |
Sets a region
void Aspose::Email::PersonalInfo::PostalAddress::set_Street | ( | System::String | value | ) |
Sets a street
|
override |
Returns a string that represents the current object.
|
friend |
|
friend |