UITableView.NumberOfRowsInSection(IntPtr) 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:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual IntPtr NumberOfRowsInSection(IntPtr section);
[<Foundation.Export("numberOfRowsInSection:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member NumberOfRowsInSection : nativeint -> nativeint
override this.NumberOfRowsInSection : nativeint -> nativeint
Parameters
- section
-
IntPtr
nativeint
The index of the section to query. Section indexes start at zero.
Returns
nativeint
Number of rows in the section.
- Attributes
Remarks
UITableView retrieves this value from the UITableViewSource (or UITableViewDataSource) and caches it.