Click or drag to resize

ShellTreeViewFindNode Method (ShellTreeNode, ItemIdList, Boolean, ShellTreeNode)

Searches for the first node, that represents the passed ItemIdList.

Namespace:  Jam.Shell
Assembly:  ShellBrowser (in ShellBrowser.dll) Version: 6.2
Syntax
protected ShellTreeNode FindNode(
	ShellTreeNode pStartNode,
	ItemIdList pItemIdList,
	bool pForceExpand,
	ref ShellTreeNode pNearestParent
)

Parameters

pStartNode
Type: Jam.ShellShellTreeNode
The branch to be searched - only the node itself and its children are scanned.
pItemIdList
Type: Jam.ShellItemIdList
The ItemIdList to be searched.
pForceExpand
Type: SystemBoolean
True if nodes should be expanded during the search, false if only expanded nodes are iterated.
pNearestParent
Type: Jam.ShellShellTreeNode
[in,out] Contains the nearest parent that was found. Might contain something even if the ItemIdList could not be found.

Return Value

Type: ShellTreeNode
The found node or null if the ItemIdList could not be found.
See Also