UITestControl.Equals Method
Determines whether the specified UITestControl is equal to the current UITestControl.
Namespace: Microsoft.VisualStudio.TestTools.UITesting
Assembly: Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.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: System.Object
The UITestControl to compare with the current UITestControl.
Return Value
Type: System.Boolean
true if the specified UITestControl is equal to the current UITestControl; 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.