Click or drag to resize

ICustomDataAddOrUpdateAsync 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.1.26791.0-Beta2
Syntax
Task<IDataItem> AddOrUpdateAsync(
	string key,
	Object value
)

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: TaskIDataItem
Newly added or updated IDataItem.
See Also