Share via


ColorDifference.Equality Operator

Operator overload for == operator.

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

Syntax

'Declaration
Public Shared Operator = ( _
    left As ColorDifference, _
    right As ColorDifference _
) As Boolean
public static bool operator ==(
    ColorDifference left,
    ColorDifference right
)
public:
static bool operator ==(
    ColorDifference^ left, 
    ColorDifference^ right
)
static let inline(=)
        left:ColorDifference * 
        right:ColorDifference  : bool
JScript does not support overloaded operators.

Parameters

Return Value

Type: Boolean
True if both are equal.

.NET Framework Security

See Also

Reference

ColorDifference Class

Microsoft.VisualStudio.TestTools.UITesting Namespace