Method UpdateItemsAsync
- Namespace
- Kepware.Api.ClientHandler
- Assembly
- Kepware.Api.dll
UpdateItemsAsync<T, K>(List<(K item, K? oldItem)>, NamedEntity?, CancellationToken)
Updates a list of items in the Kepware server.
public Task<bool[]> UpdateItemsAsync<T, K>(List<(K item, K? oldItem)> items, NamedEntity? owner = null, CancellationToken cancellationToken = default) where T : EntityCollection<K> where K : NamedEntity, new()
Parameters
itemsList<(K item, K oldItem)>ownerNamedEntitycancellationTokenCancellationToken
Returns
- Task<bool[]>
The task result contains an array of booleans indicating whether the update for each item was successful.
Type Parameters
TK