Returns a value that indicates whether the provided object is equal to this query element.
Namespace:  Microsoft.VisualStudio.TestTools.UITest.Extension
Assembly:  Microsoft.VisualStudio.TestTools.UITest.Extension (in Microsoft.VisualStudio.TestTools.UITest.Extension.dll)
Syntax
'Declaration
Public Overrides Function Equals ( _
    other As Object _
) As Boolean
public override bool Equals(
    Object other
)
public:
virtual bool Equals(
    Object^ other
) override
abstract Equals : 
        other:Object -> bool  
override Equals : 
        other:Object -> bool
public override function Equals(
    other : Object
) : boolean
Parameters
- other 
 Type: Object- An Object that can be cast as a QueryElement. 
Return Value
Type: Boolean
true if the objects are equal; otherwise, false.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.