Compartilhar via


UICollectionViewController.GetIndexPath Método

Definição

Solicita o caminho de índice para o item na exibição de coleção no índice especificado com o título especificado.

[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

Parâmetros

collectionView
UICollectionView

A exibição de coleção que originou a solicitação.

title
String

O título do item.

atIndex
System.System.IntPtr System.nativeint

O índice nos títulos de índice para os quais recuperar o caminho do índice.

Retornos

Atributos

Aplica-se a