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.
Declaration Syntax
Parameters
- anObject (Id)
- The represented object associated with a menu item.
Return Value
The index of the menu item that owns the specified object, or -1 if no such menu item was found.
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)