Edit

Share via


NSIndexPath.FromItemSection(nint, nint) Method

Definition

Creates an NSIndexPath from the given item and section values.

[Foundation.Export("indexPathForItem:inSection:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 11, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public static Foundation.NSIndexPath FromItemSection (nint item, nint section);
static member FromItemSection : nint * nint -> Foundation.NSIndexPath

Parameters

item
System.System.IntPtr System.nativeint

Item value.

section
System.System.IntPtr System.nativeint

Section value.

Returns

New instance of the NSIndexPath.

Attributes

Applies to