Mailbox Mailbox Mailbox Class

Definition

Represents a mailbox reference.

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

Constructors

Mailbox() Mailbox() Mailbox()

Initializes a new instance of the Mailbox class.

Mailbox(String) Mailbox(String) Mailbox(String)

Initializes a new instance of the Mailbox class with the SMTP address of the mailbox.

Mailbox(String, String) Mailbox(String, String) Mailbox(String, String)

Initializes a new instance of the Mailbox class with the address and routing type of the mailbox.

Properties

Address Address Address

Gets or sets the address that is used to refer to the user mailbox.

IsValid IsValid IsValid

Indicates whether the mailbox is valid.

RoutingType RoutingType RoutingType

Gets or sets the routing type of the address that is used to refer to the user mailbox.

Methods

Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified mailbox is equal to the current mailbox.

GetHashCode() GetHashCode() GetHashCode()

Serves as a hash function for a particular type.

ToString() ToString() ToString()

Returns a string that represents the current mailbox object.

Operators

Implicit(String to Mailbox) Implicit(String to Mailbox) Implicit(String to Mailbox)

Defines an implicit conversion between a string that represents an SMTP address and an e-mail address object.

Explicit Interface Implementations

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

Gets a string representation of this object 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