ObservableSettingsListBase<TValue>.AddOrUpdateAsync Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Adds or updates value
to the Registry under the supplied key
.
public virtual System.Threading.Tasks.Task AddOrUpdateAsync (string key, ValueT value, object state = default, System.Threading.CancellationToken cancellationToken = default);
abstract member AddOrUpdateAsync : string * 'ValueT * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.AddOrUpdateAsync : string * 'ValueT * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Overridable Function AddOrUpdateAsync (key As String, value As ValueT, Optional state As Object = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task
- key
- String
- value
- ValueT
- state
- Object
- cancellationToken
- CancellationToken