HtmlWindow.Equality(HtmlWindow, HtmlWindow) Operator
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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)