PostalAddress Class

Represents a postal address.
Inheritance Hierarchy
SystemObject
  Aspose.Email.PersonalInfoPostalAddress

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

The PostalAddress type exposes the following members.

Constructors
  NameDescription
Public methodPostalAddress
Initializes a new instance of the PostalAddress class
Properties
  NameDescription
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
Methods
  NameDescription
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.)
Operators
  NameDescription
Public operatorStatic memberEquality
Determines whether the specified objects are equal.
Public operatorStatic memberInequality
Determines whether the specified objects are not equal.
See Also