MonobjcMonobjc Documented Class Library
SearchStringInUserInterfaceItemStringSearchRangeFoundRange Method (searchString, stringToSearch, searchRange, foundRange)
NamespacesMonobjc.AppKitNSApplicationSearchStringInUserInterfaceItemStringSearchRangeFoundRange(NSString, NSString, NSRange, NSRange%)

Searches for the string in the user interface.

Original signature is '- (BOOL)searchString:(NSString *)searchString inUserInterfaceItemString:(NSString *)stringToSearch searchRange:(NSRange)searchRange foundRange:(NSRange *)foundRange'

Available in Mac OS X v10.6 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual bool SearchStringInUserInterfaceItemStringSearchRangeFoundRange(
	NSString searchString,
	NSString stringToSearch,
	NSRange searchRange,
	out NSRange foundRange
Public Overridable Function SearchStringInUserInterfaceItemStringSearchRangeFoundRange ( _
	searchString As NSString, _
	stringToSearch As NSString, _
	searchRange As NSRange, _
	<OutAttribute> ByRef foundRange As NSRange _
) As Boolean
virtual bool SearchStringInUserInterfaceItemStringSearchRangeFoundRange(
	NSString^ searchString, 
	NSString^ stringToSearch, 
	NSRange searchRange, 
	[OutAttribute] NSRange% foundRange
searchString (NSString)
The search string.
stringToSearch (NSString)
The string to search.
searchRange (NSRange)
The subrange of the stringToSearch to restrict the search to.
foundRange (NSRange%)
Returns, by-reference, the range of the searchString within stringToSearch.
Return Value
YES if the searchString is matched, otherwise NO.
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later)

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