Sdílet prostřednictvím


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
indexPath
NSIndexPath

Returns

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