Sdílet prostřednictvím


UICollectionViewController.GetIndexPath Method

Definition

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

[Foundation.Export("collectionView:indexPathForIndexTitle:atIndex:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual Foundation.NSIndexPath? GetIndexPath(UIKit.UICollectionView collectionView, string title, IntPtr atIndex);
[<Foundation.Export("collectionView:indexPathForIndexTitle:atIndex:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member GetIndexPath : UIKit.UICollectionView * string * nativeint -> Foundation.NSIndexPath
override this.GetIndexPath : 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

Implements

Attributes

Applies to