Click or drag to resize

CustomFileListTCreateListItem Method

Creates a new ListItem

Namespace:  Jam.Shell
Assembly:  ShellBrowser (in ShellBrowser.dll) Version: 7.1
protected T CreateListItem(
	string p_Path,
	bool p_Checked,
	bool p_CheckDuplicates,
	ItemIdList absoluteItemIdList,
	out bool p_PathAlreadyExisted


Type: SystemString
The absolute path to create a list item for.
Type: SystemBoolean
The checked state of the newly created item
Type: SystemBoolean
Forces to check for a duplicate O(n), even if the AllowDuplicates functionality is disabled and therefore no Dictionary<Path,Item> datastructure is available.
Type: Jam.ShellItemIdList
pass the absolute ItemIdList for the element if availabe. This will speed up later actions like sorting/displaying
Type: SystemBoolean
Is true, if the p_CheckDuplicates was true and a duplicate path entry has been found. Is true if the property AllowDuplicates is false and the fullpath was found in the dictionary.

Return Value

Type: T
The newly created ListItem, or if p_PathAlreadyExisted is true, the existing item instance.
See Also