Returns the menu item with the specified title.
Original signature is '- (NSMenuItem *)itemWithTitle:(NSString *)title'
Available in Mac OS X v10.0 and later.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public virtual NSMenuItem ItemWithTitle( NSString title )
Public Overridable Function ItemWithTitle ( _ title As NSString _ ) As NSMenuItem
public: virtual NSMenuItem^ ItemWithTitle( NSString^ title )
Parameters
- title (NSString)
- The title of the menu item you want.
Return Value
The menu item, or nil if no item with the specified title exists in the menu.
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)