Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Retrieves a reference to the last child of the current node of the filtered TreeWalker hierarchy and updates IDOMTreeWalker::currentNode.
![]() ![]() |
Syntax
HRESULT retVal = object.lastChild(oNode);
Parameters
oNode [out, retval]
Type: NodeObject that receives the last child node in the filtered TreeWalker hierarchy.
Return value
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Standards information
Remarks
IDOMTreeWalker::lastChild sets the IDOMTreeWalker::currentNode to the returned node.
.png)
.png)