JamBaseShellListViewFindPath Method |
Returns the ListItem for the given path.
Namespace:
Jam.Shell
Assembly:
ShellBrowser.Winforms (in ShellBrowser.Winforms.dll) Version: 6.3.1
Syntax protected ShellListBaseItem FindPath(
string pPath,
bool pCaptionOnly
)
Protected Function FindPath (
pPath As String,
pCaptionOnly As Boolean
) As ShellListBaseItem
protected:
ShellListBaseItem^ FindPath(
String^ pPath,
bool pCaptionOnly
)
member FindPath :
pPath : string *
pCaptionOnly : bool -> ShellListBaseItem
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:
ShellListBaseItemThe 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