Creates a new ListItem
| C# | Visual Basic | Visual 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 )
- 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.
The newly created ListItem, or if p_PathAlreadyExisted is true, the
existing item instance.