Mailbox.Implicit(String to Mailbox) 操作员

定义

定义表示 SMTP 地址的字符串与电子邮件地址对象之间的隐式转换。

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

参数

smtpAddress
String

要转换为电子邮件地址对象的 SMTP 地址。

返回

使用指定的 SMTP 地址初始化的邮箱。

适用于