Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

UITestControl::Equality Operator (UITestControl^, UITestControl^)

 
equivalentCodeEntityM:Microsoft.VisualStudio.TestTools.UITesting.UITestControl.Equals(Microsoft.VisualStudio.TestTools.UITesting.UITestControl,Microsoft.VisualStudio.TestTools.UITesting.UITestControl)

Indicates whether two UITestControl instances are equal.

Namespace:   Microsoft.VisualStudio.TestTools.UITesting
Assembly:  Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)

public:
static bool operator ==(
	UITestControl^ left,
	UITestControl^ right
)

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.

Return to top
Show: