UITableViewDataSource_Extensions.SectionFor 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 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
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