次の方法で共有


NSIndexPath.FromItemSection(nint, nint) メソッド

定義

指定された項目とセクション値から NSIndexPath を作成します。

[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

パラメーター

item
System.System.IntPtr System.nativeint

項目の値。

section
System.System.IntPtr System.nativeint

セクション値。

戻り値

NSIndexPath の新しいインスタンス。

属性

適用対象