This function searchs the whole tree of children that are attached to this.
This could be quite a few nodes, all the way down the tree. It is a depth first search.
this |
Menuitem at the top of the tree to search |
id |
ID of the Menuitem to search for |
The Menuitem with the ID of |