Compartilhar via


currentNode property

Sets or retrieves where the current node in a filtered TreeWalker hierarchy is positioned.

 

Syntax

object.put_currentNode(Node* oNode);object.get_currentNode(Node** oNode);

Property values

Type: Object

Object that receives the current node in the filtered hierarchy.

Exceptions

Exception Condition
NotSupportedError

If IDOMTreeWalker::currentNode is set to NULL. Earlier versions throw W3CException_NOT_SUPPORTED_ERR.

 

Standards information

Remarks

IDOMTreeWalker::currentNode will never return NULL in Windows Internet Explorer 9, even when the traversing method returns NULL.