UITableViewDataSource_Extensions.NumberOfSections Method

Definition

Returns the number of sections that are required to display the data.

public static nint NumberOfSections (this UIKit.IUITableViewDataSource This, UIKit.UITableView tableView);
static member NumberOfSections : UIKit.IUITableViewDataSource * UIKit.UITableView -> nint

Parameters

This
IUITableViewDataSource

The instance on which this extension method operates.

tableView
UITableView

Table view displaying the sections.

Returns

System.System.IntPtr System.nativeint

Applies to