UITestControl.Equality Operator
Indicates whether two UITestControl instances are equal.
Namespace: Microsoft.VisualStudio.TestTools.UITesting
Assembly: Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)
Syntax
'Declaration
Public Shared Operator = ( _
left As UITestControl, _
right As UITestControl _
) As Boolean
public static bool operator ==(
UITestControl left,
UITestControl right
)
public:
static bool operator ==(
UITestControl^ left,
UITestControl^ right
)
static let inline (=)
left:UITestControl *
right:UITestControl : bool
JScript does not support overloaded operators.
Parameters
- left
Type: Microsoft.VisualStudio.TestTools.UITesting.UITestControl
The UITestControl to the left of the equality operator.
- right
Type: Microsoft.VisualStudio.TestTools.UITesting.UITestControl
The UITestControl to the right of the equality operator.
Return Value
Type: System.Boolean
true if the values of left and right 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.