共用方式為


NSCollectionView.GetItem(NSIndexPath) 方法

定義

[Foundation.Export("itemAtIndexPath:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 11, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual AppKit.NSCollectionViewItem GetItem (Foundation.NSIndexPath indexPath);
abstract member GetItem : Foundation.NSIndexPath -> AppKit.NSCollectionViewItem
override this.GetItem : Foundation.NSIndexPath -> AppKit.NSCollectionViewItem

參數

indexPath
NSIndexPath

傳回

屬性

適用於