public final class MapiElectronicAddress extends Object
Refers to the group of properties that define the e-mail address or fax address.
Constructor and Description |
---|
MapiElectronicAddress()
Initializes a new instance of the
MapiElectronicAddress class. |
MapiElectronicAddress(String emailAddress)
Initializes a new instance of the
MapiElectronicAddress class. |
MapiElectronicAddress(String faxNumber,
String emailAddress)
Initializes a new instance of the
MapiElectronicAddress class. |
MapiElectronicAddress(String displayName,
String addressType,
String emailAddress)
Initializes a new instance of the
MapiElectronicAddress class. |
Modifier and Type | Method and Description |
---|---|
String |
getAddressType()
Gets or sets the address type
of an electronic address.
|
String |
getDisplayName()
Gets or sets the user-readable
display name for the e-mail address.
|
String |
getEmailAddress()
Gets or sets the e-mail address.
|
String |
getFaxNumber()
Gets or sets the telephone number
of the mail user's primary fax machine.
|
String |
getOriginalDisplayName()
Gets or sets the SMTP e-mail address that
corresponds to the e-mail address .
|
boolean |
isEmpty()
Shows if MapiElectronicAddress is empty
|
void |
setAddressType(String value)
Gets or sets the address type
of an electronic address.
|
void |
setDisplayName(String value)
Gets or sets the user-readable
display name for the e-mail address.
|
void |
setEmailAddress(String value)
Gets or sets the e-mail address.
|
void |
setFaxNumber(String value)
Gets or sets the telephone number
of the mail user's primary fax machine.
|
void |
setOriginalDisplayName(String value)
Gets or sets the SMTP e-mail address that
corresponds to the e-mail address .
|
static MapiElectronicAddress |
to_MapiElectronicAddress(String emailAddress)
Performs an implicit conversion from
String to MapiElectronicAddress . |
public MapiElectronicAddress()
Initializes a new instance of the MapiElectronicAddress
class.
public MapiElectronicAddress(String displayName, String addressType, String emailAddress)
Initializes a new instance of the MapiElectronicAddress
class.
displayName
- The display name.addressType
- Type of the address.emailAddress
- The email address.public MapiElectronicAddress(String emailAddress)
Initializes a new instance of the MapiElectronicAddress
class.
emailAddress
- The email address.public MapiElectronicAddress(String faxNumber, String emailAddress)
Initializes a new instance of the MapiElectronicAddress
class.
faxNumber
- The fax number.emailAddress
- The email address.public static MapiElectronicAddress to_MapiElectronicAddress(String emailAddress)
Performs an implicit conversion from String
to MapiElectronicAddress
.
emailAddress
- The email address.public final boolean isEmpty()
Shows if MapiElectronicAddress is empty
public final String getDisplayName()
Gets or sets the user-readable display name for the e-mail address.
public final void setDisplayName(String value)
Gets or sets the user-readable display name for the e-mail address.
public final String getOriginalDisplayName()
Gets or sets the SMTP e-mail address that corresponds to the e-mail address .
Value: The SMTP e-mail address.public final void setOriginalDisplayName(String value)
Gets or sets the SMTP e-mail address that corresponds to the e-mail address .
Value: The SMTP e-mail address.public final String getAddressType()
Gets or sets the address type of an electronic address.
public final void setAddressType(String value)
Gets or sets the address type of an electronic address.
public final String getEmailAddress()
Gets or sets the e-mail address.
public final void setEmailAddress(String value)
Gets or sets the e-mail address.
public final String getFaxNumber()
Gets or sets the telephone number of the mail user's primary fax machine.
public final void setFaxNumber(String value)
Gets or sets the telephone number of the mail user's primary fax machine.