ShellBrowser .Net Edition
CreateListItem Method (p_Path, p_Checked, p_CheckDuplicates, p_PathAlreadyExisted)
NamespacesJam.ShellCustomFileList<(Of <(LIST_ITEM>)>)CreateListItem(String, Boolean, Boolean, Boolean%)
Creates a new ListItem
Declaration Syntax
C#Visual BasicVisual C++
protected LIST_ITEM CreateListItem(
	string p_Path,
	bool p_Checked,
	bool p_CheckDuplicates,
	out bool p_PathAlreadyExisted
)
Protected Function CreateListItem ( _
	p_Path As String, _
	p_Checked As Boolean, _
	p_CheckDuplicates As Boolean, _
	<OutAttribute> ByRef p_PathAlreadyExisted As Boolean _
) As LIST_ITEM
protected:
LIST_ITEM CreateListItem(
	String^ p_Path, 
	bool p_Checked, 
	bool p_CheckDuplicates, 
	[OutAttribute] 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.
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
The newly created ListItem, or if p_PathAlreadyExisted is true, the existing item instance.

Assembly: ShellBrowser (Module: ShellBrowser) Version: 4.2.1.45 (4.2.1.45)