UICollectionViewDataSource_Extensions.GetIndexPath Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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