Edit

Share via


UserId.Implicit Operator

Definition

Overloads

Implicit(StandardUser to UserId)

Implements an implicit conversion between a standard user and a UserId instance.

Implicit(String to UserId)

Implements an implicit conversion between a string that represents a primary SMTP address and a UserId instance.

Implicit(StandardUser to UserId)

Implements an implicit conversion between a standard user and a UserId instance.

public:
 static operator Microsoft::Exchange::WebServices::Data::UserId ^(Microsoft::Exchange::WebServices::Data::StandardUser standardUser);
public static implicit operator Microsoft.Exchange.WebServices.Data.UserId (Microsoft.Exchange.WebServices.Data.StandardUser standardUser);

Parameters

standardUser
StandardUser

The standard user that is used to initialize the user ID.

Returns

A UserId instance that is initialized with the specified standard user value.

Applies to

Implicit(String to UserId)

Implements an implicit conversion between a string that represents a primary SMTP address and a UserId instance.

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

Parameters

primarySmtpAddress
String

The user's e-mail address.

Returns

A UserId instance that is initialized with the specified primary SMTP address.

Applies to