Home Cooker Classes Others Rice CookerGX
Classes  >  element  >  IsEqual(element)
element class : IsEqual(element) method

Description

Determines whether two elements are equal.

Syntax

elementInstance.IsEqual(element targetElement)

Arguments

ClassNameDescription
elementtargetElementA element.

Return value

ClassDescription
boolA value that indicates whether two elements are equal.

Sample code

//anyElement and targetElement are any instance of element type.

bool equal = anyElement.IsEqual(targetElement);

Notes

It's a wrapper of the MSHTML.IHTMLDOMNode3.isEqualNode(IHTMLDOMNode).

Links for reference

Copyright © Rice All rights reserved.