共用方式為


RoutingAddress.IsValid property

The IsValid property gets a value that indicates whether the data is valid as a Simple Mail Transfer Protocol (SMTP) address.

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

Syntax

'Declaration
Public ReadOnly Property IsValid As Boolean
    Get
'Usage
Dim instance As RoutingAddress
Dim value As Boolean

value = instance.IsValid
public bool IsValid { get; }

Property value

Type: System.Boolean
The IsValid property returns a value of true if the data that is contained in the structure is valid as a Simple Mail Transfer Protocol (SMTP) address; otherwise, the property returns a value of false.

See also

Reference

RoutingAddress structure

RoutingAddress members

Microsoft.Exchange.Data.Transport namespace