UICollectionViewDataSource.GetIndexTitles(UICollectionView) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
请求指定集合视图中项的索引标题。
[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[]
- 属性