Condividi tramite


UITableView.PerformBatchUpdatesAsync(Action) Metodo

Definizione

Applica e anima simultaneamente più manipolazioni dell'oggetto UITableView.

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual System.Threading.Tasks.Task<bool> PerformBatchUpdatesAsync (Action updates);
abstract member PerformBatchUpdatesAsync : Action -> System.Threading.Tasks.Task<bool>
override this.PerformBatchUpdatesAsync : Action -> System.Threading.Tasks.Task<bool>

Parametri

updates
Action

Aggiornamenti da eseguire. Questo parametro può essere .

Restituisce

Attività che rappresenta l'operazione PerformBatchUpdates asincrona. Il valore del parametro TResult è di tipo System.Action<System.Boolean>.

Attributi

Commenti

Il metodo PerformBatchUpdatesAsync è adatto per essere usato con Async C# restituendo il controllo al chiamante con un'attività che rappresenta l'operazione.

Da aggiungere.

Si applica a