MonobjcMonobjc Documented Class Library
NewItemForRepresentedObject Method (object)

Returns the collection view item that is used for the specified object.

Original signature is '- (NSCollectionViewItem *)newItemForRepresentedObject:(id)object'

Available in Mac OS X v10.5 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual NSCollectionViewItem NewItemForRepresentedObject(
	Id object
Public Overridable Function NewItemForRepresentedObject ( _
	object As Id _
) As NSCollectionViewItem
virtual NSCollectionViewItem^ NewItemForRepresentedObject(
	Id^ object
object (Id)
The content object that the collection view item will represent.
Return Value
An initialized collection view item with the specified object and the appropriate view set. The collection view item should not be autoreleased.
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)

Assembly: Monobjc.AppKit (Module: Monobjc.AppKit)