EmailAddress Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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() |
Initializes a new instance of the EmailAddress class. |
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. |
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) |
Initializes a new instance of the EmailAddress class with a Simple Mail Transfer Protocol (SMTP) address. |
Properties
Address |
Gets or sets the email address. |
Id |
Gets or sets the contact identifier that the email address represents. |
MailboxType |
Gets or sets the type of the email address. |
Name |
Gets or sets the name that is associated with the email address. |
RoutingType |
Gets or sets the routing type that is associated with the email address. |
Methods
ToString() |
Returns a string that represents this EmailAddress object. |
Operators
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() |
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. |