CustomFileListTCreateListItem Method |
Creates a new ListItem
Namespace: Jam.ShellAssembly: ShellBrowser (in ShellBrowser.dll) Version: 7.2
Syntaxprotected T CreateListItem(
string p_Path,
bool p_Checked,
bool p_CheckDuplicates,
ItemIdList absoluteItemIdList,
out bool p_PathAlreadyExisted
)
Protected Function CreateListItem (
p_Path As String,
p_Checked As Boolean,
p_CheckDuplicates As Boolean,
absoluteItemIdList As ItemIdList,
<OutAttribute> ByRef p_PathAlreadyExisted As Boolean
) As T
protected:
T CreateListItem(
String^ p_Path,
bool p_Checked,
bool p_CheckDuplicates,
ItemIdList^ absoluteItemIdList,
[OutAttribute] bool% p_PathAlreadyExisted
)
member CreateListItem :
p_Path : string *
p_Checked : bool *
p_CheckDuplicates : bool *
absoluteItemIdList : ItemIdList *
p_PathAlreadyExisted : bool byref -> 'T 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
TThe newly created ListItem, or if p_PathAlreadyExisted is true, the
existing item instance.
See Also