PostalAddress Class

Represents a postal address.
Inheritance Hierarchy

Namespace:  Aspose.Email.PersonalInfo
Assembly:  Aspose.Email (in Aspose.Email.dll) Version: 20.2
public class PostalAddress : IComparable<PostalAddress>, 

The PostalAddress type exposes the following members.

Public methodPostalAddress
Initializes a new instance of the PostalAddress class
Public propertyAddress
Gets or sets an address
Public propertyCategory
Gets or sets an object category
Public propertyCity
Gets or sets a city
Public propertyCountry
Gets or sets a country
Public propertyCountryCode
Gets or sets a country code
Public propertyIsMailingAddress
Gets or sets a value which defines whether address may be used for mailing.
Public propertyPostalCode
Gets or sets a post code
Public propertyPostOfficeBox
Gets or sets a post Office box
Public propertyPrefered
Gets or sets a value which defines whether postal address is preferred.
Public propertyStateOrProvince
Gets or sets a region
Public propertyStreet
Gets or sets a street
Public methodCompareTo
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.
Public methodEquals(Object)
Determines whether the specified Object is equal to the current Object.
(Overrides ObjectEquals(Object).)
Public methodEquals(PostalAddress)
Public methodEquals(PostalAddress, PostalAddress)
Determines whether the specified object instances are considered equal.
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode
GetHashCode returns a hash function for this object.
(Overrides ObjectGetHashCode.)
Public methodGetHashCode(PostalAddress)
GetHashCode returns a hash function for specified object.
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Overrides ObjectToString.)
Public operatorStatic memberEquality
Determines whether the specified objects are equal.
Public operatorStatic memberInequality
Determines whether the specified objects are not equal.
See Also