Share via


UICollectionViewController.GetCell(UICollectionView, NSIndexPath) 方法

定义

检索指定索引处的 UICollectionViewCell。

[Foundation.Export("collectionView:cellForItemAtIndexPath:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual UIKit.UICollectionViewCell GetCell (UIKit.UICollectionView collectionView, Foundation.NSIndexPath indexPath);
abstract member GetCell : UIKit.UICollectionView * Foundation.NSIndexPath -> UIKit.UICollectionViewCell
override this.GetCell : UIKit.UICollectionView * Foundation.NSIndexPath -> UIKit.UICollectionViewCell

参数

collectionView
UICollectionView

此视图控制器管理的集合视图。

indexPath
NSIndexPath

受影响项的索引路径。

返回

UICollectionViewCell由此视图控制器管理的 。

实现

属性

适用于