Editare

Partajați prin


HtmlWindow.Equality(HtmlWindow, HtmlWindow) Operator

Definition

Tests the two HtmlWindow objects for equality.

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

Parameters

left
HtmlWindow

The first HtmlWindow object.

right
HtmlWindow

The second HtmlWindow object.

Returns

true if both parameters are null, or if both elements have the same underlying COM interface; otherwise, false.

Remarks

The equality operator tests the IUnknown pointers of the underlying COM objects wrapped by the supplied HtmlWindow classes.

The equivalent method for this operator is HtmlWindow.Equals(Object)

Applies to