Sdílet prostřednictvím


RoutingAddress.op_Equality Method

The op_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
public static bool operator == (
    RoutingAddress value1,
    RoutingAddress value2
)
public:
static bool operator == (
    RoutingAddress value1, 
    RoutingAddress value2
)
J# does not support overloaded operators.
JScript supports the use of overloaded operators, but not the declaration of new ones.

Parameters

  • value1
    The first instance of the RoutingAddress structure to compare.
  • value2
    The second instance of the RoutingAddress structure to compare.

Return Value

The op_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.

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