MonobjcMonobjc Documented Class Library
CompletedString Method (substring)
NamespacesMonobjc.AppKitNSComboBoxCellCompletedString(NSString)

Returns a string from the receiver’s pop-up list that starts with the given substring.

Original signature is '- (NSString *)completedString:(NSString *)substring'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual NSString CompletedString(
	NSString substring
)
Public Overridable Function CompletedString ( _
	substring As NSString _
) As NSString
public:
virtual NSString^ CompletedString(
	NSString^ substring
)
Parameters
substring (NSString)
The substring to search for. This is what the user entered in the combo box’s text field.
Return Value
The string from the receiver's pop-up list that starts with the specified substring or nil if there is no such string.
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)