CustomFileListTCreateListItem Method |
Creates a new ListItem
Namespace:
Jam.Shell
Assembly:
ShellBrowser (in ShellBrowser.dll) Version: 7.1
Syntax protected 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
- Type: SystemString
The absolute path to create a list item for. - p_Checked
- Type: SystemBoolean
The checked state of the newly created item - p_CheckDuplicates
- 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. - absoluteItemIdList
- Type: Jam.ShellItemIdList
pass the absolute ItemIdList for the element if availabe. This will speed up later actions like sorting/displaying - p_PathAlreadyExisted
- 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:
TThe newly created ListItem, or if p_PathAlreadyExisted is true, the
existing item instance.
See Also