UICollectionViewDataSource.GetIndexPath 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
请求集合视图中具有指定标题的指定索引处的项的索引路径。
[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)]
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
参数
- collectionView
- UICollectionView
发起请求的集合视图。
- title
- String
项的标题。
- atIndex
- System.System.IntPtr System.nativeint
要检索其索引路径的索引标题中的索引。
返回
- 属性