UITableView.NumberOfSections メソッド

定義

テーブル ビュー内のセクションの数を返します。

[Foundation.Export("numberOfSections")]
public virtual nint NumberOfSections ();
abstract member NumberOfSections : unit -> nint
override this.NumberOfSections : unit -> nint

戻り値

System.System.IntPtr System.nativeint

テーブル ビュー内のセクションの数。

属性

注釈

UITableView は、 (またはUITableViewDataSource) からこの値をUITableViewSource取得し、キャッシュします。

適用対象