Class MapiContactElectronicAddress
Contents
[
Hide
]MapiContactElectronicAddress class
An e-mail address or fax number of a contact.
public sealed class MapiContactElectronicAddress : MapiContactAddress
Constructors
| Name | Description |
|---|---|
| MapiContactElectronicAddress() | Initializes a new instance of the MapiContactElectronicAddress class. |
| MapiContactElectronicAddress(string) | Initializes a new instance of the MapiContactElectronicAddress class with an e-mail address. |
| MapiContactElectronicAddress(string, string) | Initializes a new instance of the MapiContactElectronicAddress class with a fax number and an e-mail address. |
| MapiContactElectronicAddress(string, string, string) | Initializes a new instance of the MapiContactElectronicAddress class. |
Properties
| Name | Description |
|---|---|
| AddressType { get; set; } | Gets or sets the type of the address, such as SMTP or EX (Exchange). |
| DisplayName { get; set; } | Gets or sets the name shown for the address. |
| EmailAddress { get; set; } | Gets or sets the e-mail address. |
| FaxNumber { get; set; } | Gets or sets the fax number. |
| IsEmpty { get; } | Gets a value indicating whether no field of the address is set. |
| OriginalDisplayName { get; set; } | Gets or sets the SMTP form of the address, used when the address itself is of another type. |
Methods
| Name | Description |
|---|---|
| override Equals(object) | Determines whether the specified object is equal to the current object. |
| override GetHashCode() | Returns the hash code of the address. |
| override ToString() | Returns a string that represents the current object. |
| implicit operator | Performs an implicit conversion from String to MapiContactElectronicAddress. |
Remarks
A string converts implicitly to this class, so an e-mail address can be assigned directly: contact.ElectronicAddresses.Email1 = "alice@example.com";.
See Also
- class MapiContactAddress
- namespace Aspose.Email.Mapi
- assembly Aspose.Email