DataTableDictionary.Set

Overview

Adds or updates a element with specified key and value in DataTableDictionary instance.

DataTableDictionary myDataTableDictionary.Set(key: string, value: ( DataRow | Array<DataRow> ))

Arguments

string key

Required. Key of element to add to DataTableDictionary object.

( DataRow | Array<DataRow> ) value

Value of element to add to DataTableDictionary object.

Returns

Always returns the current instance.

Remarks

This method does NOT update DataTable and only apply temporary changes in DataTableDictionary instance. Please use DataTableDictionary.Ensure method to perform database changes and do not use this method if you have special reason.

Value can be specified as Object Array if needed.

See Also

Copyright © 2010 - 2023 Emakin. All rights reserved.