Converts a packed multi-valued attribute list to
a Dictionary TKey, TValue .
Namespace: CleanCode.DataAssembly: CleanCode (in CleanCode.dll) Version: 1.2.3.0 (1.2.03)
Syntax
public static NestedStringDictionary ListToDictionary( string flatList, string include, params string[] key )
Parameters
- flatList
- Type: System String
The dictionary packed into a string.
- include
- Type: System String
The column that determines inclusion (optional).
- key
- Type: System String
The key column.
Return Value
Dictionary of (key, Dictionary) entries.Exceptions
Exception | Condition |
---|---|
System.Collections.Generic KeyNotFoundException | if key column does not exist for any row |
Remarks
See Also