RoutingAddress.CompareTo Method (Object)
The CompareTo method compares this instance of the RoutingAddress structure with the specified object.
Namespace: Microsoft.Exchange.Data.Transport
Assembly: Microsoft.Exchange.Data.Transport (in Microsoft.Exchange.Data.Transport.dll)
Syntax
'Declaration
Public Function CompareTo ( _
address As Object _
) As Integer
'Usage
Dim instance As RoutingAddress
Dim address As Object
Dim returnValue As Integer
returnValue = instance.CompareTo(address)
public int CompareTo(
Object address
)
Parameters
- address
Type: System.Object
An object that evaluates a RoutingAddress structure or string.
Return Value
Type: System.Int32
The following table lists the return values for the CompareTo method.
Value |
Meaning |
---|---|
Less than zero |
The address value of this instance of the RoutingAddress structure is less than the address value of the RoutingAddress structure specified. |
Zero |
The address value of this instance of the RoutingAddress structure is equal to the address value of the RoutingAddress structure specified. |
Greater than zero |
The address value of this instance of the RoutingAddress structure is greater than the address value of the RoutingAddress structure specified. |