UITableView.PerformBatchUpdatesAsync(Action) メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
の複数の操作を適用して同時にアニメーション化します 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>
パラメーター
- updates
- Action
実行する更新プログラム。このパラメーターには を指定できます。
戻り値
非同期の PerformBatchUpdates 操作を表すタスク。 TResult パラメーターの値は System.Action<System.Boolean 型です>。
- 属性
注釈
PerformBatchUpdatesAsync メソッドは、操作を表す Task を使用して呼び出し元に制御を返すことによって、C# async で使用するのに適しています。
追加する。