Click or drag to resize

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.1.26791.0-Beta2
Syntax
IDataItem AddOrUpdate(
	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: IDataItem
Newly added or updated IDataItem.
See Also