The MailBox type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| MailBox(String) |
Creates new MailBox object using specified email address.
| |
| MailBox(String, String) |
Creates new MailBox object using specified email address and display name.
|
Methods
| Name | Description | |
|---|---|---|
| Equals | (Inherited from Object.) | |
| Finalize |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) | |
| GetHashCode |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
| GetMailboxes |
Gets all mailboxes represented by this mail address.
(Overrides MailAddress..::..GetMailboxes()()()().) | |
| GetType |
Gets the Type of the current instance.
(Inherited from Object.) | |
| MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
| Render |
Encodes and escapes all necessary data and renders this mailbox as a string.
(Overrides MailAddress..::..Render()()()().) | |
| ToString | (Overrides Object..::..ToString()()()().) |
Properties
| Name | Description | |
|---|---|---|
| Address |
Email address e.g. "john.smith@example.com".
| |
| DebuggerDisplay |
This method is used by DebuggerDisplay attribute.
(Inherited from MailAddress.) | |
| Name |
Display name e.g. "John Smith". Can by null.
Please note that two classes inherit from this class - you can use Address or Addresses properties to get email address(es).
(Inherited from MailAddress.) |