Click or drag to resize

CustomFileListTCreateListItem Method

Creates a new ListItem

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

Parameters

p_Path  String
The absolute path to create a list item for.
p_Checked  Boolean
The checked state of the newly created item
p_CheckDuplicates  Boolean
Forces to check for a duplicate O(n), even if the AllowDuplicates functionality is disabled and therefore no Dictionary<Path,Item> datastructure is available.
absoluteItemIdList  ItemIdList
pass the absolute ItemIdList for the element if availabe. This will speed up later actions like sorting/displaying
p_PathAlreadyExisted  Boolean
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

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