Returns the menu item at the specified index.
Original signature is '- (NSMenuItem *)itemAtIndex:(NSInteger)index'
Available in Mac OS X v10.0 and later.
| 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 )
- index (NSInteger)
- The index of the item you want. The specified index must refer to an existing menu item.
The menu item, or nil if no item exists at the specified index.
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)