共用方式為


UITableViewSource.RowsInSection(UITableView, nint) 方法

定義

由資料表檢視呼叫,以找出在 所 section 指定區段中要轉譯的資料列數目。

[Foundation.Export("tableView:numberOfRowsInSection:")]
public abstract nint RowsInSection (UIKit.UITableView tableview, nint section);
abstract member RowsInSection : UIKit.UITableView * nint -> nint

參數

tableview
UITableView

顯示資料列的資料表檢視。

section
System.System.IntPtr System.nativeint

包含資料列之區段的索引。

傳回

System.System.IntPtr System.nativeint

索引 section 區段中的資料列數目。

屬性

備註

宣告于 [UITableViewDataSource]

適用於