RoutingDomain.CompareTo Method (RoutingDomain)

The CompareTo method compares this instance of the RoutingDomain structure to the specified instance of the RoutingDomain structure. 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 ( _
    value As RoutingDomain _
) As Integer
'Usage
Dim instance As RoutingDomain
Dim value As RoutingDomain
Dim returnValue As Integer

returnValue = instance.CompareTo(value)
public int CompareTo(
    RoutingDomain value
)

Parameters

Return Value

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

Implements

IComparable<T>.CompareTo(T)