Share via


RoutingAddress.CompareTo method (RoutingAddress)

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 RoutingAddress _
) As Integer
'Usage
Dim instance As RoutingAddress
Dim address As RoutingAddress
Dim returnValue As Integer

returnValue = instance.CompareTo(address)
public int CompareTo(
    RoutingAddress address
)

Parameters

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.

Remarks

The CompareTo method is not case sensitive.

See also

Reference

RoutingAddress structure

RoutingAddress members

CompareTo overload

Microsoft.Exchange.Data.Transport namespace