ShellBrowser .Net Edition
ReturnItemInList Method (p_FileName)
NamespacesJam.ShellCustomFileList<(Of <(LIST_ITEM>)>)ReturnItemInList(String)
Returns the item that is associated to the filename given as a parameter. Uses the SortedDictionary that is maintained within the FileList to determine whether the p_FileName is contained as a key if the AllowDuplicates property is set to true. Otherwise it iterates through the list of items in O(n) to find the first entry.
Declaration Syntax
C#Visual BasicVisual C++
public LIST_ITEM ReturnItemInList(
	string p_FileName
)
Public Function ReturnItemInList ( _
	p_FileName As String _
) As LIST_ITEM
public:
LIST_ITEM ReturnItemInList(
	String^ p_FileName
)
Parameters
p_FileName (String)
The filename to search for through the dictionary
Return Value
null, if the item is not in the list otherwise a reference to the item

Assembly: ShellBrowser (Module: ShellBrowser) Version: 4.2.1.45 (4.2.1.45)