Returns the index of the first menu item in the receiver that has a given represented object.
Original signature is '- (NSInteger)indexOfItemWithRepresentedObject:(id)anObject'
Available in Mac OS X v10.0 and later.
Declaration Syntax
Parameters
- anObject (Id)
- A represented object of the receiver.
Return Value
The integer index of the menu item or, if no such menu item is in the menu, –1.
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)