NodeIsSameNode Method

The isSameNode() method of the Node interface is a legacy alias the for the === strict equality operator. That is, it tests whether two nodes are the same (in other words, whether they reference the same object).

Note: There is no need to use isSameNode(); instead use the === strict equality operator.

Namespace: Aspose.Html.Dom
Assembly: Aspose.HTML (in Aspose.HTML.dll) Version: 22.4
Syntax
public bool IsSameNode(
	Node otherNode
)

Parameters

otherNode
Type: Aspose.Html.DomNode

The Node to test against.

Return Value

Type: Boolean

A boolean value that is true if both nodes are stricly equal, false if not.

See Also