UICollectionView.PerformBatchUpdatesAsync(Action) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
套用並同時以動畫顯示 的 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 。