MonobjcMonobjc Documented Class Library
ComboBoxCellCompletedString Method (aComboBoxCell, uncompletedString)
NamespacesMonobjc.AppKitINSComboBoxCellDataSourceComboBoxCellCompletedString(NSComboBoxCell, NSString)

Returns the item from the combo box's pop-up list that matches the text entered by the user.

Original signature is '- (NSString *)comboBoxCell:(NSComboBoxCell *)aComboBoxCell completedString:(NSString *)uncompletedString'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
NSString ComboBoxCellCompletedString(
	NSComboBoxCell aComboBoxCell,
	NSString uncompletedString
)
Function ComboBoxCellCompletedString ( _
	aComboBoxCell As NSComboBoxCell, _
	uncompletedString As NSString _
) As NSString
NSString^ ComboBoxCellCompletedString(
	NSComboBoxCell^ aComboBoxCell, 
	NSString^ uncompletedString
)
Parameters
aComboBoxCell (NSComboBoxCell)
The combo box cell.
uncompletedString (NSString)
The substring containing the text the user typed into the text field of the combo box cell.
Return Value
The completed string, from the items in the pop-up list, that matches the text entered by the user. Your implementation should return the first complete string that starts with uncompletedString.
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)