HtmlWindow.Equality Operator (HtmlWindow, HtmlWindow)

 
equivalentCodeEntityM:System.Windows.Forms.HtmlWindow.Equals(System.Object)

Tests the two HtmlWindow objects for equality.

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

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

Parameters

left
Type: System.Windows.Forms.HtmlWindow

The first HtmlWindow object.

right
Type: System.Windows.Forms.HtmlWindow

The second HtmlWindow object.

Return Value

Type: System.Boolean

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

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

.NET Framework
Available since 2.0
Return to top
Show: