共用方式為


UICollectionViewDataSource.GetIndexTitles(UICollectionView) 方法

定義

要求指定集合檢視中專案的索引標題。

[Foundation.Export("indexTitlesForCollectionView:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 3, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 10, 2, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual string[] GetIndexTitles (UIKit.UICollectionView collectionView);
abstract member GetIndexTitles : UIKit.UICollectionView -> string[]
override this.GetIndexTitles : UIKit.UICollectionView -> string[]

參數

collectionView
UICollectionView

產生要求的集合檢視。

傳回

String[]
屬性

適用於