RoutingAddress.Equality Operator

The Equality method compares two specified instances of the RoutingAddress structure for equality.

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

Syntax

'Declaration
Public Shared Operator = ( _
    value1 As RoutingAddress, _
    value2 As RoutingAddress _
) As Boolean
'Usage
Dim value1 As RoutingAddress
Dim value2 As RoutingAddress
Dim returnValue As Boolean

returnValue = (value1 = value2)
public static bool operator ==(
    RoutingAddress value1,
    RoutingAddress value2
)

Parameters

Return Value

Type: System.Boolean
The Equality method returns a value of true if the two instances of the RoutingAddress structure are equal; otherwise, the method returns a value of false.