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)

適用於