Sets or retrieves where the current node in a filtered TreeWalker hierarchy is positioned.
HRESULT IDOMTreeWalker::get_currentNode(IDispatch **p);HRESULT IDOMTreeWalker::put_currentNode(IDispatch *v);
- Address of a pointer to a type IDispatch interface that receives the current node in the filtered hierarchy.
- A pointer to a type IDispatch interface that specifies the current node to set in the filtered hierarchy.
Returns one of the following values.
S_OK The operation completed successfully. W3CException_NOT_SUPPORTED_ERR If IDOMTreeWalker::currentNode is set to NULL.
IDOMTreeWalker::currentNode will never return NULL in Internet Explorer 9, even when the traversing method returns NULL.