共用方式為


NSCollectionViewDataSource.GetItem(NSCollectionView, NSIndexPath) 方法

定義

[Foundation.Export("collectionView:itemForRepresentedObjectAtIndexPath:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 11, ObjCRuntime.PlatformArchitecture.All, null)]
public abstract AppKit.NSCollectionViewItem GetItem (AppKit.NSCollectionView collectionView, Foundation.NSIndexPath indexPath);
abstract member GetItem : AppKit.NSCollectionView * Foundation.NSIndexPath -> AppKit.NSCollectionViewItem

參數

collectionView
NSCollectionView
indexPath
NSIndexPath

傳回

實作

屬性

適用於