== 运算符的运算符重载。
命名空间: Microsoft.VisualStudio.TestTools.UITesting
程序集: Microsoft.VisualStudio.TestTools.UITesting(在 Microsoft.VisualStudio.TestTools.UITesting.dll 中)
语法
声明
Public Shared Operator = ( _
left As ToleranceRectangle, _
right As ToleranceRectangle _
) As Boolean
public static bool operator ==(
ToleranceRectangle left,
ToleranceRectangle right
)
public:
static bool operator ==(
ToleranceRectangle left,
ToleranceRectangle right
)
static let inline(=)
left:ToleranceRectangle *
right:ToleranceRectangle : bool
JScript 不支持重载运算符。
参数
left
类型:Microsoft.VisualStudio.TestTools.UITesting.ToleranceRectangle表达式的 LValue。
right
类型:Microsoft.VisualStudio.TestTools.UITesting.ToleranceRectangle表达式的 RValue。
返回值
类型:Boolean
如果值相等,则为 true。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关详细信息,请参阅通过部分受信任的代码使用库。