测试两个对象实例是否相等位置和大小。
命名空间: Microsoft.VisualStudio.TestTools.UITest.Input
程序集: Microsoft.VisualStudio.TestTools.UITest.Extension(在 Microsoft.VisualStudio.TestTools.UITest.Extension.dll 中)
语法
声明
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 不支持重载运算符。
参数
返回值
类型:Boolean
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关详细信息,请参阅通过部分受信任的代码使用库。