Partager via


UICollectionViewController.GetIndexPath Méthode

Définition

Demande le chemin d’accès à l’index de l’élément dans la vue de collection à l’index spécifié avec le titre spécifié.

[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

Paramètres

collectionView
UICollectionView

Vue de collection à l’origine de la demande.

title
String

Titre de l’élément.

atIndex
System.System.IntPtr System.nativeint

Index dans les titres d’index pour lesquels récupérer le chemin d’accès à l’index.

Retours

Attributs

S’applique à