HtmlWindow.Equality(HtmlWindow, HtmlWindow) 操作员

定义

测试两 HtmlWindow 个对象是否相等。

public:
 static bool operator ==(System::Windows::Forms::HtmlWindow ^ left, System::Windows::Forms::HtmlWindow ^ right);
public static bool operator ==(System.Windows.Forms.HtmlWindow left, System.Windows.Forms.HtmlWindow right);
public static bool operator ==(System.Windows.Forms.HtmlWindow? left, System.Windows.Forms.HtmlWindow? right);
static member ( = ) : System.Windows.Forms.HtmlWindow * System.Windows.Forms.HtmlWindow -> bool
Public Shared Operator == (left As HtmlWindow, right As HtmlWindow) As Boolean

参数

left
HtmlWindow

第一个 HtmlWindow 对象。

right
HtmlWindow

第二个 HtmlWindow 对象。

返回

true 如果两个参数都相同 null,或者两个元素具有相同的基础 COM 接口,则为 ;否则为 false

注解

相等运算符测试 IUnknown 所提供 HtmlWindow 类包装的基础 COM 对象的指针。

此运算符的等效方法为 HtmlWindow.Equals(Object)

适用于