HtmlElement::Equality Operator (HtmlElement^, HtmlElement^)

 
equivalentCodeEntityM:System.Windows.Forms.HtmlElement.Equals(System.Windows.Forms.HtmlElement,System.Windows.Forms.HtmlElement)

Compares two elements for equality.

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

public:
static bool operator ==(
	HtmlElement^ left,
	HtmlElement^ right
)

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 HtmlElement classes.

.NET Framework
Available since 2.0
Return to top
Show: