Share via


RelatesTo.op_Inequality Method

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

Namespace: Microsoft.Web.Services2.Addressing
Assembly: Microsoft.Web.Services2 (in microsoft.web.services2.dll)

Usage

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

Syntax

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

Parameters

  • obj2
    An RelatesTo object.

Return Value

true if the two instances are not 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 Longhorn, and Windows 2000

Target Platforms

Windows 2000, Windows 2000 Server, Windows 2000 Advanced Server, Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows Longhorn, Pocket PC, Windows CE, Smart Phone

See Also

Reference

RelatesTo Class
Microsoft.Web.Services2.Addressing Namespace

Other Resources

RelatesTo Members