UICollectionViewDataSource.GetViewForSupplementaryElement 方法

定义

检索指定 indexPath 处指定 elementKind 的 UICollectionReusableView。

[Foundation.Export("collectionView:viewForSupplementaryElementOfKind:atIndexPath:")]
public virtual UIKit.UICollectionReusableView GetViewForSupplementaryElement (UIKit.UICollectionView collectionView, Foundation.NSString elementKind, Foundation.NSIndexPath indexPath);
abstract member GetViewForSupplementaryElement : UIKit.UICollectionView * Foundation.NSString * Foundation.NSIndexPath -> UIKit.UICollectionReusableView
override this.GetViewForSupplementaryElement : UIKit.UICollectionView * Foundation.NSString * Foundation.NSIndexPath -> UIKit.UICollectionReusableView

参数

collectionView
UICollectionView

发起请求的集合视图。

elementKind
NSString
indexPath
NSIndexPath

返回

属性

适用于