Returns the menu item at the specified index.
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)
- The index of the item you want.
Return Value
The menu item, or nil if no item exists at the specified index.
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)