Click or drag to resize

instanceCheckListTGetItemsByNames Method

imbSCI | imbACE | imbNLP | imbWEM | imbWBI
Creates dictionary where items from the list are indexed by value of name property.

Namespace:  imbSCI.Core.collection.checkLists
Assembly:  imbSCI.Core (in imbSCI.Core.dll) Version: 0.3.58.
Syntax
C#
public Dictionary<string, T> GetItemsByNames(
	bool getChecked = true,
	bool getUnchecked = false
)
Request Example View Source

Parameters

getChecked (Optional)
Type: SystemBoolean
if set to true, the result will contain only checked items
getUnchecked (Optional)
Type: SystemBoolean
if set to true, the result will contain only not checked items

Return Value

Type: DictionaryString, T
Remarks
If the items don't have name property, ToString() is called. To avoid duplicate names, it will add number of existing names for the second and all other duplicates.
See Also