Share via


matches Method

Checks if the node that is passed is contained in the current collection.

objXMLDOMNode = objXMLDOMSelection.matches(objXMLDOMNode);

HRESULT matches(
  IXMLDOMNode* pNode,
  IXMLDOMNode** ppNode
);

General Remarks

When matches is called with node A, it returns node B such that if B was set as the context on a query, A is in the result set of the query. If no such B node is found, matches returns Null.

The matches method does not take into account the current context of the query.

This method applies to the following objects and interfaces:

IXMLDOMSelection

 Last updated on Saturday, April 10, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.