Поделиться через


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

Возвращаемое значение

Атрибуты

Применяется к