Jaa


isEqualNode method

Determines if two nodes are equal.

 

Syntax

HRESULT retVal = object.isEqualNode(otherNode, isEqual);

Parameters

otherNode [in]

Type: IHTMLDOMNode3

The node to be compared to the node that is executing the method.

isEqual [out, retval]

Type: VARIANT_BOOL

A pointer to a VARIANT_BOOL that receives one of the following values:

VARIANT_TRUE (true)

The node specified in the otherNode parameter is equal to the current node.

VARIANT_FALSE (false)

The nodes are not equal.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Standards information

Remarks

This method determines whether or not two nodes are equal. Nodes are considered equal when the values of the following attributes are equal:

Nodes can be equal without being the same. Use IHTMLDOMNode3::isSameNode to determine if two nodes are the same.

See also

IHTMLDOMNode3::isSameNode