UICollectionView.DequeueReusableCell 方法

定义

重载

DequeueReusableCell(NSString, NSIndexPath)

返回新的或重复使用的 UICollectionReusableView

DequeueReusableCell(String, NSIndexPath)

返回新的或重复使用的 UICollectionReusableView

DequeueReusableCell(NSString, NSIndexPath)

返回新的或重复使用的 UICollectionReusableView

[Foundation.Export("dequeueReusableCellWithReuseIdentifier:forIndexPath:")]
public virtual UIKit.UICollectionReusableView DequeueReusableCell (Foundation.NSString reuseIdentifier, Foundation.NSIndexPath indexPath);
abstract member DequeueReusableCell : Foundation.NSString * Foundation.NSIndexPath -> UIKit.UICollectionReusableView
override this.DequeueReusableCell : Foundation.NSString * Foundation.NSIndexPath -> UIKit.UICollectionReusableView

参数

reuseIdentifier
NSString

所需单元格的类型特定重用标识符。

indexPath
NSIndexPath

指示 NSIndexPath 所需 UICollectionViewCell的节和项索引的 。

返回

UICollectionReusableView 分配或从重用队列中回收的 。

属性

适用于

DequeueReusableCell(String, NSIndexPath)

返回新的或重复使用的 UICollectionReusableView

public UIKit.UICollectionReusableView DequeueReusableCell (string reuseIdentifier, Foundation.NSIndexPath indexPath);
member this.DequeueReusableCell : string * Foundation.NSIndexPath -> UIKit.UICollectionReusableView

参数

reuseIdentifier
String
indexPath
NSIndexPath

返回

适用于