RoutingAddress.Equals method (Object)
The Equals method determines whether this instance of the RoutingAddress structure is equal to the object specified.
Namespace: Microsoft.Exchange.Data.Transport
Assembly: Microsoft.Exchange.Data.Transport (in Microsoft.Exchange.Data.Transport.dll)
Syntax
'Declaration
Public Overrides Function Equals ( _
obj As Object _
) As Boolean
'Usage
Dim instance As RoutingAddress
Dim obj As Object
Dim returnValue As Boolean
returnValue = instance.Equals(obj)
public override bool Equals(
Object obj
)
Parameters
obj
Type: System.ObjectThe object against which to compare.
Return value
Type: System.Boolean
TheEquals method returns a value of true if the object specified by the address parameter is an instance of the RoutingAddress structure and the address is equal to the address in this instance of the RoutingAddress structure; otherwise, the method returns a value of false.
Remarks
If the object passed is not a RoutingAddress object, an exception will be thrown.