Share via


UITableView.PerformBatchUpdatesAsync(Action) Método

Definición

Aplica y anima simultáneamente varias manipulaciones de 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>

Parámetros

updates
Action

Actualizaciones que se van a realizar. Este parámetro puede ser .

Devoluciones

Tarea que representa la operación PerformBatchUpdates asincrónica. El valor del parámetro TResult es del tipo System.Action<System.Boolean>.

Atributos

Comentarios

El método PerformBatchUpdatesAsync es adecuado para usarse con C# asincrónico devolviendo el control al autor de la llamada con una tarea que representa la operación.

Se agregará.

Se aplica a