次の方法で共有


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