Share via


NSIndexPath.FromRowSection(IntPtr, IntPtr) Method

Definition

Returns an index-path object initialized with the given row and section details.

[Foundation.Export("indexPathForRow:inSection:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static Foundation.NSIndexPath FromRowSection(IntPtr row, IntPtr section);
[<Foundation.Export("indexPathForRow:inSection:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member FromRowSection : nativeint * nativeint -> Foundation.NSIndexPath

Parameters

row
IntPtr

nativeint

The row index within the corresponding section of a UITableView.

section
IntPtr

nativeint

The index of the section in the UITableView that contains the row.

Returns

An NSIndexPath object, or null if it could not be created.

Attributes

Applies to