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 物件。

傳回

如果兩個參數都是 null,則為 true;如果兩個項目都擁有相同的基礎 COM 介面,則為 false

備註

等號比較運算子會 IUnknown 測試所提供 HtmlWindow 類別所包裝之基礎 COM 物件的指標。

這個運算子的對等方法為 HtmlWindow.Equals(Object)

適用於