ShellTreeViewFindNode(ShellTreeNode, ItemIdList, Boolean, ShellTreeNode) Method | 
             Searches for the first node, that represents the passed ItemIdList. 
             
Namespace: Jam.ShellAssembly: ShellBrowser (in ShellBrowser.dll) Version: 7.2
Syntaxprotected ShellTreeNode FindNode(
	ShellTreeNode pStartNode,
	ItemIdList pItemIdList,
	bool pForceExpand,
	ref ShellTreeNode pNearestParent
)
Protected Function FindNode ( 
	pStartNode As ShellTreeNode,
	pItemIdList As ItemIdList,
	pForceExpand As Boolean,
	ByRef pNearestParent As ShellTreeNode
) As ShellTreeNode
protected:
ShellTreeNode^ FindNode(
	ShellTreeNode^ pStartNode, 
	ItemIdList^ pItemIdList, 
	bool pForceExpand, 
	ShellTreeNode^% pNearestParent
)
member FindNode : 
        pStartNode : ShellTreeNode * 
        pItemIdList : ItemIdList * 
        pForceExpand : bool * 
        pNearestParent : ShellTreeNode byref -> ShellTreeNode Parameters
- pStartNode  ShellTreeNode
 - The branch to be searched - only the node itself and its children are scanned.
 - pItemIdList  ItemIdList
 - The ItemIdList to be searched.
 - pForceExpand  Boolean
 - True if nodes should be expanded during the search, false if only expanded nodes are iterated.
 - pNearestParent  ShellTreeNode
 - [in,out] Contains the nearest parent that was found. Might contain something even if the ItemIdList could not be found.
 
Return Value
ShellTreeNodeThe found node or null if the ItemIdList could not be found.
See Also