HtmlElement::Equality Operator (HtmlElement^, HtmlElement^)
.NET Framework (current version)
Compares two elements for equality.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Parameters
- left
-
Type:
System.Windows.Forms::HtmlElement^
The first HtmlElement.
- right
-
Type:
System.Windows.Forms::HtmlElement^
The second HtmlElement.
Return Value
Type: System::Booleantrue 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 HtmlElement classes.
.NET Framework
Available since 2.0
Available since 2.0
Show: