Share via


RoutingDomain.CompareTo Method (Object)

The CompareTo method compares this instance of the RoutingDomain structure to the specified object. This member was introduced in Microsoft Exchange Server 2007 Service Pack 1 (SP1).

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

Syntax

'Declaration
Public Function CompareTo ( _
    domain As Object _
) As Integer
'Usage
Dim instance As RoutingDomain
Dim domain As Object
Dim returnValue As Integer

returnValue = instance.CompareTo(domain)
public int CompareTo(
    Object domain
)

Parameters

Return Value

Type: System.Int32
The CompareTo method returns a 32-bit signed integer that indicates the lexical relationship between the two comparands.