Partager via


RelatesTo.op_Equality Method

Performs a comparison of two instantiated RelatesTo objects to determine if they are equal.

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

Usage

'Usage
Dim relatesTo1 As RelatesTo
Dim relatesTo2 As RelatesTo
Dim returnValue As Boolean
returnValue = (RelatesTo = relatesTo2)

Syntax

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

Parameters

  • obj2
    An RelatesTo object.

Return Value

true if the two instances are equal; 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

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