Share via


SmtpAddress Explicit conversion (SmtpAddress to String)

Namespace:  Microsoft.Exchange.Data
Assembly:  Microsoft.Exchange.Data (in Microsoft.Exchange.Data.dll)

Syntax

'Declaration
Public Shared Narrowing Operator CType ( _
    address As SmtpAddress _
) As String
'Usage
Dim input As SmtpAddress
Dim output As String

output = CType(input, String)
public static explicit operator string (
    SmtpAddress address
)

Parameters

Return value

Type: System.String

See also

Reference

SmtpAddress structure

SmtpAddress members

Explicit overload

Microsoft.Exchange.Data namespace