ICustomDataAddOrUpdateAsync Method (String) |
IT Hit User File System
Adds an element with the provided key 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.4.27341.0
Syntax Task<IDataItem> AddOrUpdateAsync(
string key
)
Function AddOrUpdateAsync (
key As String
) As Task(Of IDataItem)
Task<IDataItem^>^ AddOrUpdateAsync(
String^ key
)
abstract AddOrUpdateAsync :
key : string -> Task<IDataItem>
Parameters
- key
- Type: SystemString
The object to use as the key of the element to add.
Return Value
Type:
TaskIDataItemNewly added or updated
IDataItem.
See Also