Bewerken

Delen via


UICollectionViewDataSource_Extensions.GetIndexPath Method

Definition

Requests the index path for the item in the collection view at the specified index with the specified title.

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 3, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 10, 2, ObjCRuntime.PlatformArchitecture.All, null)]
public static Foundation.NSIndexPath GetIndexPath (this UIKit.IUICollectionViewDataSource This, UIKit.UICollectionView collectionView, string title, nint atIndex);
static member GetIndexPath : UIKit.IUICollectionViewDataSource * UIKit.UICollectionView * string * nint -> Foundation.NSIndexPath

Parameters

This
IUICollectionViewDataSource

The instance on which this extension method operates.

collectionView
UICollectionView

The collection view that originated the request.

title
String

The title of the item.

atIndex
System.System.IntPtr System.nativeint

The index into the index titles for which to retrieve the index path.

Returns

Attributes

Applies to