public final class MapiContactElectronicAddress extends Object
Refers to the group of properties that define the e-mail address or fax address for a contact.
Constructor and Description |
---|
MapiContactElectronicAddress()
Initializes a new instance of the
MapiContactElectronicAddress class. |
MapiContactElectronicAddress(String emailAddress)
Initializes a new instance of the
MapiContactElectronicAddress class. |
MapiContactElectronicAddress(String faxNumber,
String emailAddress)
Initializes a new instance of the
MapiContactElectronicAddress class. |
MapiContactElectronicAddress(String displayName,
String addressType,
String emailAddress)
Initializes a new instance of the
MapiContactElectronicAddress class. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Determines whether the specified object is equal to the current object.
|
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
of the contact
|
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 for the Contact object.
|
int |
hashCode() |
boolean |
isEmpty()
Shows if MapiContactElectronicAddress 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
of the contact
|
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 for the Contact object.
|
static MapiContactElectronicAddress |
to_MapiContactElectronicAddress(String emailAddress)
Performs an implicit conversion from
String to MapiContactElectronicAddress . |
String |
toString()
Returns a string that represents the current object.
|
public MapiContactElectronicAddress()
Initializes a new instance of the MapiContactElectronicAddress
class.
public MapiContactElectronicAddress(String displayName, String addressType, String emailAddress)
Initializes a new instance of the MapiContactElectronicAddress
class.
displayName
- The display name.addressType
- Type of the address.emailAddress
- The email address.public MapiContactElectronicAddress(String emailAddress)
Initializes a new instance of the MapiContactElectronicAddress
class.
emailAddress
- The email address.public MapiContactElectronicAddress(String faxNumber, String emailAddress)
Initializes a new instance of the MapiContactElectronicAddress
class.
faxNumber
- The fax number.emailAddress
- The email address.public static MapiContactElectronicAddress to_MapiContactElectronicAddress(String emailAddress)
Performs an implicit conversion from String
to MapiContactElectronicAddress
.
emailAddress
- The email address.public final boolean isEmpty()
Shows if MapiContactElectronicAddress 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 for the Contact object.
Value: The 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 for the Contact object.
Value: The 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 of the contact
public final void setEmailAddress(String value)
Gets or sets the e-mail address of the contact
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
public String toString()
Returns a string that represents the current object.
public boolean equals(Object obj)
Determines whether the specified object is equal to the current object.