Share 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.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static Foundation.NSIndexPath? GetIndexPath(this UIKit.IUICollectionViewDataSource This, UIKit.UICollectionView collectionView, string title, IntPtr atIndex);
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member GetIndexPath : UIKit.IUICollectionViewDataSource * UIKit.UICollectionView * string * nativeint -> Foundation.NSIndexPath

Parameters

collectionView
UICollectionView

The collection view that originated the request.

title
String

The title of the item.

atIndex
IntPtr

nativeint

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

Returns

Attributes

Applies to