IsSameNode

Node.IsSameNode method

Returns whether this node is the same node as the given one. This method provides a way to determine whether two Node references returned by the implementation reference the same object. When two Node references are references to the same object, even if through a proxy, the references may be used completely interchangeably, such that all attributes have the same values and calling the same DOM method on either reference always has exactly the same effect.

public bool IsSameNode(Node otherNode)
Parameter Type Description
otherNode Node The other node.

Return Value

true if [is same node] [the specified other]; otherwise, false.

See Also