Language
Edit

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

Name Description
Mailbox()

Initializes a new instance of the Mailbox class.

Mailbox(String, String)

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

Mailbox(String)

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

Properties

Name Description
Address

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

IsValid

Indicates whether the mailbox is valid.

RoutingType

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

Methods

Name Description
Equals(Object)

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

GetHashCode()

Serves as a hash function for a particular type.

ToString()

Returns a string that represents the current mailbox object.

Operators

Name Description
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

Name Description
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