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

Return value

Type: Microsoft.Exchange.Data.SmtpAddress

See also

Reference

SmtpAddress structure

SmtpAddress members

Explicit overload

Microsoft.Exchange.Data namespace