UserId 构造函数

定义

重载

UserId()

初始化 UserId 类的新实例。

UserId(StandardUser)

为指定的标准用户初始化 UserId 类的新实例。

UserId(String)

使用用户的电子邮件地址初始化 UserId 类的新实例。

UserId()

初始化 UserId 类的新实例。

public:
 UserId();
public UserId ();
Public Sub New ()

适用于

UserId(StandardUser)

为指定的标准用户初始化 UserId 类的新实例。

public:
 UserId(Microsoft::Exchange::WebServices::Data::StandardUser standardUser);
public UserId (Microsoft.Exchange.WebServices.Data.StandardUser standardUser);

参数

standardUser
StandardUser

用于初始化新实例的 StandardUser 枚举值之一。

适用于

UserId(String)

使用用户的电子邮件地址初始化 UserId 类的新实例。

public:
 UserId(System::String ^ primarySmtpAddress);
public UserId (string primarySmtpAddress);
Public Sub New (primarySmtpAddress As String)

参数

primarySmtpAddress
String

用户的电子邮件地址。

适用于