Edit

Share via


UITableView.NumberOfRowsInSection(nint) Method

Definition

Returns the number of rows (table cells) in a given section.

[Foundation.Export("numberOfRowsInSection:")]
public virtual nint NumberOfRowsInSection (nint section);
abstract member NumberOfRowsInSection : nint -> nint
override this.NumberOfRowsInSection : nint -> nint

Parameters

section
System.System.IntPtr System.nativeint

The index of the section to query. Section indexes start at zero.

Returns

System.System.IntPtr System.nativeint

Number of rows in the section.

Attributes

Remarks

UITableView retrieves this value from the UITableViewSource (or UITableViewDataSource) and caches it.

Applies to