Share via


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] 中声明

适用于