UICollectionView.DequeueReusableCell Method

Definition

Overloads

DequeueReusableCell(String, NSIndexPath)

Returns a new or reused UICollectionReusableView.

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

Parameters

reuseIdentifier
String

The reuse identifier for the cell type to dequeue.

indexPath
NSIndexPath

The index path specifying the location of the cell.

Returns

A UICollectionReusableView that is either newly allocated or recycled from the reuse queue.

Applies to

DequeueReusableCell(NSString, NSIndexPath)

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

Parameters

reuseIdentifier
NSString
indexPath
NSIndexPath

Returns

Attributes

Applies to