ICustomDataAddOrUpdate Method (String, Object) |
IT Hit User File System
Adds an element with the provided key and value to the dictionary.
If an element with the provided key exists - updates the element.
Namespace:
ITHit.FileSystem
Assembly:
ITHit.FileSystem (in ITHit.FileSystem.dll) Version: 8.3.27213.0
Syntax IDataItem AddOrUpdate(
string key,
Object value
)
Function AddOrUpdate (
key As String,
value As Object
) As IDataItem
IDataItem^ AddOrUpdate(
String^ key,
Object^ value
)
abstract AddOrUpdate :
key : string *
value : Object -> IDataItem
Parameters
- key
- Type: SystemString
The object to use as the key of the element to add. - value
- Type: SystemObject
The object to use as the value of the element to add.
Return Value
Type:
IDataItemNewly added or updated
IDataItem.
See Also