UIKit.UITableViewSource.NumberOfSections Method
Returns the number of sections that are required to display the data.

Syntax

[Foundation.Export("numberOfSectionsInTableView:")]
public virtual nint NumberOfSections (UITableView tableView)

Parameters

tableView
Table view displaying the sections.

Returns

Number of sections required to display the data. The default is 1 (a table must have at least one section).

Remarks

Declared in [UITableViewDataSource]

Requirements

Namespace: UIKit
Assembly: Xamarin.iOS (in Xamarin.iOS.dll)
Assembly Versions: 0.0.0.0