UITableView.NumberOfSections 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 sections in the table view.
[Foundation.Export("numberOfSections")]
public virtual nint NumberOfSections ();
abstract member NumberOfSections : unit -> nint
override this.NumberOfSections : unit -> nint
Returns
System.System.IntPtr
System.nativeint
Number of sections in the table view.
- Attributes
Remarks
UITableView retrieves this value from the UITableViewSource (or UITableViewDataSource) and caches it.