Microsoft XML 2.5 SDK


 

context Property

[This is preliminary documentation and subject to change.]

Gets the node (subtree) that is applied to the selection.

Syntax

Set objXMLDOMNode = objXMLDOMSelection.context

objXMLDOMSelection.context = objXMLDOMNode

Remarks

Because selectNodes can be called on any node type, context can also be assigned any node type. A node from a different document than the one that originally created this XMLDOMSelection object can also be specified so long as it has the same threading model. Calling context also resets the state of the node list so that nextNode starts over.

Applies To

XMLDOMSelection