Set¶
Adds an entry with the specified key and rows to the dictionary.
1 | |
Parameters¶
string key
The key of the entry. Required.
( DataRow | Array<DataRow> ) value
A row or an array of rows.
Returns¶
The current DataTableDictionary instance.
Remarks¶
This method only changes the dictionary; it does not add rows to the DataTable. If the key already exists, the existing entry is kept. Use DataTableDictionary.Ensure to insert or update rows.
Examples¶
Add an alias key for an existing row¶
1 2 3 4 5 6 7 8 9 10 | |