Partager via


Rectangle.Equality Operator

Tests whether two instance of objects have equal location and size.

Namespace:  Microsoft.VisualStudio.TestTools.UITest.Input
Assembly:  Microsoft.VisualStudio.TestTools.UITest.Extension (in Microsoft.VisualStudio.TestTools.UITest.Extension.dll)

Syntax

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

Parameters

Return Value

Type: Boolean

.NET Framework Security

See Also

Reference

Rectangle Structure

Microsoft.VisualStudio.TestTools.UITest.Input Namespace