SmtpAddress Explicit conversion (String to SmtpAddress)
Namespace: Microsoft.Exchange.Data
Assembly: Microsoft.Exchange.Data (in Microsoft.Exchange.Data.dll)
Syntax
'Declaration
Public Shared Narrowing Operator CType ( _
address As String _
) As SmtpAddress
'Usage
Dim input As String
Dim output As SmtpAddress
output = CType(input, SmtpAddress)
public static explicit operator SmtpAddress (
string address
)
Parameters
- address
Type: System.String
Return value
Type: Microsoft.Exchange.Data.SmtpAddress