EmailAddress EmailAddress EmailAddress Class

Definition

Represents an email address.

public ref class EmailAddress : Microsoft::Exchange::WebServices::Data::ComplexProperty, Microsoft::Exchange::WebServices::Data::ISearchStringProvider
public class EmailAddress : Microsoft.Exchange.WebServices.Data.ComplexProperty, Microsoft.Exchange.WebServices.Data.ISearchStringProvider
Public Class EmailAddress
Inherits ComplexProperty
Implements ISearchStringProvider
Inheritance
Derived
Implements

Constructors

EmailAddress() EmailAddress() EmailAddress()

Initializes a new instance of the EmailAddress class.

EmailAddress(String) EmailAddress(String) EmailAddress(String)

Initializes a new instance of the EmailAddress class with a Simple Mail Transfer Protocol (SMTP) address.

EmailAddress(String, String) EmailAddress(String, String) EmailAddress(String, String)

Initializes a new instance of the EmailAddress class with a user name and a Simple Mail Transfer Protocol (SMTP) address.

EmailAddress(String, String, String) EmailAddress(String, String, String) EmailAddress(String, String, String)

Initializes a new instance of the EmailAddress class with a user name, routing type, and a Simple Mail Transfer Protocol (SMTP) address.

Properties

Address Address Address

Gets or sets the email address.

Id Id Id

Gets or sets the contact identifier that the email address represents.

MailboxType MailboxType MailboxType

Gets or sets the type of the email address.

Name Name Name

Gets or sets the name that is associated with the email address.

RoutingType RoutingType RoutingType

Gets or sets the routing type that is associated with the email address.

Methods

ToString() ToString() ToString()

Returns a string that represents this EmailAddress object.

Operators

Implicit(String to EmailAddress) Implicit(String to EmailAddress) Implicit(String to EmailAddress)

Defines an implicit conversion between a string that represents a Simple Mail Transfer Protocol (SMTP) address and an EmailAddress object.

Explicit Interface Implementations

ISearchStringProvider.GetSearchString() ISearchStringProvider.GetSearchString() ISearchStringProvider.GetSearchString()

Returns a string representation of this instance for use in a search filter. The ISearchStringProvider.GetSearchString() method is applicable for clients that target Exchange Online and versions of Exchange starting with Exchange Server 2013.

Applies to