UITestAction.Equality Operator
Overrides the "==" operator for comparing two UI test action objects.
Namespace: Microsoft.VisualStudio.TestTools.UITest.Common
Assembly: Microsoft.VisualStudio.TestTools.UITest.Common (in Microsoft.VisualStudio.TestTools.UITest.Common.dll)
Syntax
'Declaration
Public Shared Operator = ( _
left As UITestAction, _
right As UITestAction _
) As Boolean
public static bool operator ==(
UITestAction left,
UITestAction right
)
public:
static bool operator ==(
UITestAction^ left,
UITestAction^ right
)
static let inline(=)
left:UITestAction *
right:UITestAction : bool
JScript does not support overloaded operators.
Parameters
left
Type: Microsoft.VisualStudio.TestTools.UITest.Common.UITestActionThe UITestAction object on the left of the equality expression.
right
Type: Microsoft.VisualStudio.TestTools.UITest.Common.UITestActionThe UITestAction object on the right of the equality expression.
Return Value
Type: Boolean
true if the two 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.