To.op_Equality Method
Determines whether the specified To values are considered equal.
Namespace: Microsoft.Web.Services3.Addressing
Assembly: Microsoft.Web.Services3 (in microsoft.web.services3.dll)
Usage
'Usage
Dim to1 As To
Dim to2 As To
Dim returnValue As Boolean
returnValue = (To = to2)
Syntax
'Declaration
Public Shared Function op_Equality( _
ByVal obj1 As To, _
ByVal obj2 As To _
) As Boolean
public static bool op_Equality(
To obj1,
To obj2
);
public:
static bool operator ==(
To^ obj1,
To^ obj2
);
public static boolean op_Equality(
To obj1,
To obj2
);
public static function op_Equality(
obj1 : To,
obj2 : To
) : Boolean;
Parameters
- obj1
The first To.
- obj2
The second To.
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
To Class
To Members
Microsoft.Web.Services3.Addressing Namespace