Condividi tramite


NSIndexPath.FromItemSection(nint, nint) Metodo

Definizione

Crea un elemento NSIndexPath dai valori di elemento e sezione specificati.

[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

Parametri

item
System.System.IntPtr System.nativeint

Valore dell'elemento.

section
System.System.IntPtr System.nativeint

Valore della sezione.

Restituisce

Nuova istanza di NSIndexPath.

Attributi

Si applica a