UICollectionView.DequeueReusableCell Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| DequeueReusableCell(String, NSIndexPath) |
Returns a new or reused UICollectionReusableView. |
| DequeueReusableCell(NSString, NSIndexPath) |
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