Edit

Share via


Mailbox.Implicit(String to Mailbox) Operator

Definition

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

public:
 static operator Microsoft::Exchange::WebServices::Data::Mailbox ^(System::String ^ smtpAddress);
public static implicit operator Microsoft.Exchange.WebServices.Data.Mailbox (string smtpAddress);
Public Shared Widening Operator CType (smtpAddress As String) As Mailbox

Parameters

smtpAddress
String

The SMTP address to convert to an e-mail address object.

Returns

A mailbox initialized with the specified SMTP address.

Applies to