共用方式為


RoutingAddress members

The RoutingAddress structure represents an address that is used to route data.

The RoutingAddress type exposes the following members.

Constructors

  Name Description
Public method RoutingAddress(String) The RoutingAddress method initializes a new instance of the RoutingAddress structure by using the specified address.
Public method RoutingAddress(String, String) The RoutingAddress method initializes a new instance of the RoutingAddress structure by using the specified local part and domain part of an address.

Top

Properties

  Name Description
Public property DomainPart The DomainPart property gets the domain part of the address.
Public property IsValid The IsValid property gets a value that indicates whether the data is valid as a Simple Mail Transfer Protocol (SMTP) address.
Public property Length The Length property gets the number of characters in the address.
Public property LocalPart The LocalPart property gets the local part of the address.

Top

Methods

  Name Description
Public method CompareTo(Object) The CompareTo method compares this instance of the RoutingAddress structure with the specified object.
Public method CompareTo(RoutingAddress) The CompareTo method compares this instance of the RoutingAddress structure with the specified object.
Public method Equals(Object) The Equals method determines whether this instance of the RoutingAddress structure is equal to the object specified. (Overrides ValueType.Equals(Object).)
Public method Equals(RoutingAddress) Compares two routing address and determines whether they are equal.
Public method GetHashCode The GetHashCode method gets the hash code for this instance of the RoutingAddress structure. (Overrides ValueType.GetHashCode().)
Public methodStatic member IsEmpty
Public methodStatic member IsValidAddress The IsValidAddress property gets a value that indicates whether the address specified by the address parameter is valid as a Simple Mail Transfer Protocol (SMTP) address.
Public methodStatic member Parse The Parse method converts the string representation of a Simple Mail Transfer Protocol (SMTP) address to an equivalent instance of the RoutingAddress structure.
Public method ToString The ToString method returns a string representation of the address in this instance of the RoutingAddress structure. (Overrides ValueType.ToString().)

Top

Operators

  Name Description
Public operatorStatic member Equality The Equality method compares two specified instances of the RoutingAddress structure for equality.
Public operatorStatic member Explicit(String to RoutingAddress) The Explicit(String to RoutingAddress) method converts the string specified into an instance of the RoutingAddress structure.
Public operatorStatic member Explicit(RoutingAddress to String) The Explicit(RoutingAddress to String) method converts the RoutingAddress structure specified into a string that is equivalent to the address.
Public operatorStatic member Inequality The Inequality method compares two specified instances of the RoutingAddress structure for inequality.

Top

Fields

  Name Description
Public fieldStatic member Empty The Empty field contains an empty instance of the RoutingAddress structure that contains a null reference (Nothing in Visual Basic) for the address.
Public fieldStatic member NullReversePath The NullReversePath field contains an instance of the RoutingAddress structure that represents a null reverse path address.

Top

See also

Reference

RoutingAddress structure

Microsoft.Exchange.Data.Transport namespace