Returns the menu item at a specific location of the receiver.
Original signature is '- (NSMenuItem *)itemAtIndex:(NSInteger)index'
Available in Mac OS X v10.0 and later.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public virtual NSMenuItem ItemAtIndex( NSInteger index )
Public Overridable Function ItemAtIndex ( _ index As NSInteger _ ) As NSMenuItem
public: virtual NSMenuItem^ ItemAtIndex( NSInteger index )
Parameters
- index (NSInteger)
- An integer index locating a menu item in a menu.
Return Value
The found menu item (an object conforming to the NSMenuItem protocol) or nil if the object couldn't be 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)