UITableView.NumberOfRowsInSection(nint) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.