EmailAddress Class

Represents an email address
Inheritance Hierarchy
SystemObject
  Aspose.EmailMailAddress
    Aspose.Email.PersonalInfoEmailAddress

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

The EmailAddress type exposes the following members.

Constructors
  NameDescription
Public methodEmailAddress
Initializes a new instance of the EmailAddress class.
Public methodEmailAddress(String)
Initializes a new instance of the EmailAddress class.
Properties
  NameDescription
Public propertyAddress
Gets or sets the e-mail address.
(Inherited from MailAddress.)
Public propertyCategory
Gets or sets an object category
Public propertyCount
Contains count of mail addresses.
(Inherited from MailAddress.)
Public propertyDisplayName
Gets or sets a display name.
(Inherited from MailAddress.)
Public propertyHost
Gets the host portion of the address.
(Inherited from MailAddress.)
Public propertyId
Gets object identification information
(Inherited from MailAddress.)
Public propertyItem
Gets the element at the specified index.
(Inherited from MailAddress.)
Public propertyOriginalAddressString
Gets or sets the original e-mail address string.
(Inherited from MailAddress.)
Public propertyParticipationStatus
Gets or sets the participation status for the calendar user.
(Inherited from MailAddress.)
Public propertyPrefered
Gets or sets a value which defines whether email address is preferred.
Public propertyRoutingType
Gets or sets a routing type for an email
Public propertyUser
Gets the username.
(Inherited from MailAddress.)
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 MailAddressEquals(Object).)
Public methodEquals(EmailAddress)
Determines whether the specified Object is equal to the current Object.
Public methodEquals(EmailAddress, EmailAddress)
Determines whether the specified object instances are considered equal.
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
GetHashCode returns a hash function for this object.
(Overrides MailAddressGetHashCode.)
Public methodGetHashCode(EmailAddress)
GetHashCode returns a hash function for specified object.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Overrides MailAddressToString.)
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