共用方式為


NSCollectionView.SelectItems(NSSet, NSCollectionViewScrollPosition) 方法

定義

[Foundation.Export("selectItemsAtIndexPaths:scrollPosition:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 11, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void SelectItems (Foundation.NSSet indexPaths, AppKit.NSCollectionViewScrollPosition scrollPosition);
abstract member SelectItems : Foundation.NSSet * AppKit.NSCollectionViewScrollPosition -> unit
override this.SelectItems : Foundation.NSSet * AppKit.NSCollectionViewScrollPosition -> unit

參數

indexPaths
NSSet
屬性

適用於