Bagikan melalui


UICollectionViewSource.GetIndexPath(UICollectionView, String, nint) Metode

Definisi

Meminta jalur indeks untuk item dalam tampilan koleksi pada indeks yang ditentukan dengan judul yang ditentukan.

[Foundation.Export("collectionView:indexPathForIndexTitle:atIndex:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 3, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 10, 2, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual Foundation.NSIndexPath GetIndexPath (UIKit.UICollectionView collectionView, string title, nint atIndex);
abstract member GetIndexPath : UIKit.UICollectionView * string * nint -> Foundation.NSIndexPath
override this.GetIndexPath : UIKit.UICollectionView * string * nint -> Foundation.NSIndexPath

Parameter

collectionView
UICollectionView

Tampilan koleksi yang berasal dari permintaan.

title
String

Judul item.

atIndex
System.System.IntPtr System.nativeint

Indeks ke dalam judul indeks untuk mengambil jalur indeks.

Mengembalikan

Atribut

Berlaku untuk