MailAddress Members

Represents the address of an electronic mail sender or recipient.

The MailAddress type exposes the following members.

  NameDescription
Public method MailAddress Overloaded. Initializes a new instance of the MailAddress class.
Top

  NameDescription
Public method Equals Compares two mail addresses. (Overrides Object.Equals(Object).)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Returns a hash value for a mail address. (Overrides Object.GetHashCode().)
Public method GetType Gets the type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string representation of this instance. (Overrides Object.ToString().)
Top

  NameDescription
Public property Address Gets the e-mail address specified when this instance was created.
Public property DisplayName Gets the display name composed from the display name and address information specified when this instance was created.
Public property Host Gets the host portion of the address specified when this instance was created.
Public property User Gets the user information from the address specified when this instance was created.
Top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2015 Microsoft