UITableViewDataSource_Extensions.SectionFor Method

Definition

Returns the index of the section with the given and .

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 10, 2, ObjCRuntime.PlatformArchitecture.All, null)]
public static nint SectionFor (this UIKit.IUITableViewDataSource This, UIKit.UITableView tableView, string title, nint atIndex);
static member SectionFor : UIKit.IUITableViewDataSource * UIKit.UITableView * string * nint -> nint

Parameters

This
IUITableViewDataSource

The instance on which this extension method operates.

tableView
UITableView

Table view containing the section.

title
String

The title that's displayed in the table view's index.

atIndex
System.System.IntPtr System.nativeint

The index of the title in the array returned from the SectionIndexTitles(UITableView).

Returns

System.System.IntPtr System.nativeint
Attributes

Applies to