Share via


IUITableViewDataSource.NumberOfSections(UITableView) Method

Definition

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

[Foundation.Export("numberOfSectionsInTableView:")]
[Foundation.OptionalMember]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual IntPtr NumberOfSections(UIKit.UITableView tableView);
[<Foundation.Export("numberOfSectionsInTableView:")>]
[<Foundation.OptionalMember>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member NumberOfSections : UIKit.UITableView -> nativeint
override this.NumberOfSections : UIKit.UITableView -> nativeint

Parameters

tableView
UITableView

Table view displaying the sections.

Returns

IntPtr

nativeint

Attributes

Applies to