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
public int CompareTo (
Object address
)
public:
int CompareTo (
Object^ address
)
public int CompareTo (
Object address
)
public function CompareTo (
address : Object
) : int
Parameters
- address
An object that evaluates a RoutingAddress structure or string.
Return Value
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.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows XP Professional with Service Pack 2 (SP2), Windows Server 2003,
Target Platforms
Windows Server 2003