Class MapiContactElectronicAddress
Contents
[
Hide
]MapiContactElectronicAddress class
Represents a group of properties that define an electronic address (email or fax) for a contact. This class provides functionality for managing contact email addresses and fax numbers through properties such as display name, address type, email address, and fax number.
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. |
| MapiContactElectronicAddress(string, string) | Initializes a new instance of the MapiContactElectronicAddress class. |
| MapiContactElectronicAddress(string, string, string) | Initializes a new instance of the MapiContactElectronicAddress class. |
Properties
| Name | Description |
|---|---|
| AddressType { get; set; } | Gets or sets the address type of an electronic address |
| DisplayName { get; set; } | Gets or sets the user-readable display name for the e-mail address |
| EmailAddress { get; set; } | Gets or sets the e-mail address of the contact |
| FaxNumber { get; set; } | Gets or sets the telephone number of the mail user’s primary fax machine |
| IsEmpty { get; } | Shows if MapiContactElectronicAddress is empty |
| OriginalDisplayName { get; set; } | Gets or sets the SMTP e-mail address that corresponds to the e-mail address for the Contact object. |
Methods
| Name | Description |
|---|---|
| override Equals(object) | Determines whether the specified object is equal to the current object. |
| override GetHashCode() | |
| override ToString() | Returns a string that represents the current object. |
| implicit operator | Performs an implicit conversion from String to MapiContactElectronicAddress. |
Remarks
Use this class to manage electronic addresses in MapiContact items. The class supports both email addresses and fax numbers, with properties like DisplayName, AddressType, EmailAddress, and FaxNumber. It also supports implicit conversion from string for convenient email address assignment.
See Also
- class MapiContactAddress
- namespace Aspose.Email.Mapi
- assembly Aspose.Email