NSCollectionView.NewItemForRepresentedObject(NSObject) 方法

定义

[Foundation.Export("newItemForRepresentedObject:")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.MacOSX, 10, 14, ObjCRuntime.PlatformArchitecture.None, "Use 'NSCollectionViewDataSource.GetItem()' instead.")]
public virtual AppKit.NSCollectionViewItem NewItemForRepresentedObject (Foundation.NSObject obj);
abstract member NewItemForRepresentedObject : Foundation.NSObject -> AppKit.NSCollectionViewItem
override this.NewItemForRepresentedObject : Foundation.NSObject -> AppKit.NSCollectionViewItem

参数

obj
NSObject

返回

属性

适用于