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

Return Value

Type: Boolean
true if the values of left and right are equal; otherwise, false.

.NET Framework Security

See Also

Reference

UITestControl Class

Microsoft.VisualStudio.TestTools.UITesting Namespace