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: 9.0.29552.0
SyntaxTask<IDataItem> AddOrUpdateAsync(
	string key,
	Object value
)
Function AddOrUpdateAsync ( 
	key As String,
	value As Object
) As Task(Of IDataItem)
Task<IDataItem^>^ AddOrUpdateAsync(
	String^ key, 
	Object^ value
)
abstract AddOrUpdateAsync : 
        key : string * 
        value : Object -> Task<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: 
TaskIDataItemNewly added or updated 
IDataItem.
See Also