編集

次の方法で共有


UITableView.ReloadData Method

Definition

Reloads the rows and sections in the table view.

[Foundation.Export("reloadData")]
public virtual void ReloadData ();
abstract member ReloadData : unit -> unit
override this.ReloadData : unit -> unit
Attributes

Remarks

This method reloads all the data in the table, including cells, headers, footers and the index array. For efficiency, only visible rows are have their cells loaded and displayed.

A table view's Source calls this method when it wants to completely reload data. This method should not be called inside other methods that insert or delete rows, especially within a BeginUpdates()-EndUpdates() animation block.

Applies to