Returns the index of the menu item that holds the specified represented object.
Original signature is '- (NSInteger)indexOfItemWithRepresentedObject:(id)anObject'
Available in Mac OS X v10.0 and later.


- anObject (Id)
- The represented object associated with a menu item.

The index of the menu item that owns the specified object, or -1 if no such menu item was found.

- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)