MonobjcMonobjc Documented Class Library
IndexOfItemWithTitle Method (title)
NamespacesMonobjc.AppKitNSPopUpButtonIndexOfItemWithTitle(NSString)

Returns the index of the item with the specified title.

Original signature is '- (NSInteger)indexOfItemWithTitle:(NSString *)title'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual NSInteger IndexOfItemWithTitle(
	NSString title
)
Public Overridable Function IndexOfItemWithTitle ( _
	title As NSString _
) As NSInteger
public:
virtual NSInteger IndexOfItemWithTitle(
	NSString^ title
)
Parameters
title (NSString)
The title of the item you want.
Return Value
The index of the item or -1 if no item with the specified title was 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)

Assembly: Monobjc.AppKit (Module: Monobjc.AppKit)