Share via


Address.op_Equality Method

Determines whether the specified Address values are considered equal.

Namespace: Microsoft.Web.Services3.Addressing
Assembly: Microsoft.Web.Services3 (in microsoft.web.services3.dll)

Usage

'Usage
Dim address1 As Address
Dim address2 As Address
Dim returnValue As Boolean
returnValue = (Address = address2)

Syntax

'Declaration
Public Shared Function op_Equality( _
    ByVal obj1 As Address, _
    ByVal obj2 As Address _
) As Boolean
public static bool op_Equality(
    Address obj1, 
    Address obj2
);
public:
static bool operator ==(
    Address^ obj1,
    Address^ obj2
);
public static boolean op_Equality(
    Address obj1, 
    Address obj2
);
public static function op_Equality(
     obj1 : Address, 
     obj2 : Address
) : Boolean;

Parameters

  • obj1
    The first Address to compare.
  • obj2
    The second Address to compare.

Return Value

true if obj1 and obj2 refer to the same object or are both null ; otherwise, 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 Home Edition, Windows XP Professional, Windows Server 2003, Windows 2000, Windows 2000 Server, Windows 2000 Advanced Server

Target Platforms

See Also

Reference

Address Class
Address Members
Microsoft.Web.Services3.Addressing Namespace