CustomFileListTReturnItemInList Method |
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.
Namespace:
Jam.Shell
Assembly:
ShellBrowser (in ShellBrowser.dll) Version: 6.4
Syntaxpublic T ReturnItemInList(
string p_FileName
)
Public Function ReturnItemInList (
p_FileName As String
) As T
public:
T ReturnItemInList(
String^ p_FileName
)
member ReturnItemInList :
p_FileName : string -> 'T
Parameters
- p_FileName
- Type: SystemString
The filename to search for through the dictionary
Return Value
Type:
Tnull, if the item is not in the list otherwise a reference to the item
See Also