EmailAddress.Implicit(String to EmailAddress) Operator
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Defines an implicit conversion between a string that represents a Simple Mail Transfer Protocol (SMTP) address and an EmailAddress object.
public:
static operator Microsoft::Exchange::WebServices::Data::EmailAddress ^(System::String ^ smtpAddress);
public static implicit operator Microsoft.Exchange.WebServices.Data.EmailAddress (string smtpAddress);
Public Shared Widening Operator CType (smtpAddress As String) As EmailAddress
Parameters
- smtpAddress
- String
The SMTP address to convert to the EmailAddress type.
Returns
An EmailAddress that is initialized with the specified SMTP address.