Click or drag to resize

JamBaseShellListViewFindPath Method

Returns the ListItem for the given path.

Namespace:  Jam.Shell
Assembly:  ShellBrowser (in ShellBrowser.dll) Version: 6.1
Syntax
protected ShellListBaseItem FindPath(
	string pPath,
	bool pCaptionOnly
)

Parameters

pPath
Type: SystemString
The path or name to search for.
pCaptionOnly
Type: SystemBoolean
true if the item's name should be searched for. False to look for the whole path.

Return Value

Type: ShellListBaseItem
The ListItem that correponds to the given name or path, null if no matching item could be found.
Remarks
If pCaptionOnly the item's text is checked. If pCaptionOnly is false the FullPath of the item is checked. This will not work for items that do not have a physical path.
See Also