Edytuj

Udostępnij za pośrednictwem


UICollectionViewSource.GetIndexPath(UICollectionView, String, nint) 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.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

Parameters

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