System.Windows.Forms.HtmlWindow.op_Equality Method

Tests the two System.Windows.Forms.HtmlWindow objects for equality.

Syntax

public static bool operator== (HtmlWindow left, HtmlWindow right)

Parameters

left
The first System.Windows.Forms.HtmlWindow object.
right
The second System.Windows.Forms.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 System.Windows.Forms.HtmlWindow classes.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 2.0.0.0