共用方式為


UICollectionView.PerformBatchUpdatesAsync(Action) 方法

定義

套用並同時以動畫顯示 的 UICollectionView 多個操作。

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 參數的值是 UICompletionHandler

適用於