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
- address
Type: Microsoft.Exchange.Data.SmtpAddress
Return value
Type: System.String