MonobjcMonobjc Documented Class Library
NSSpellServer..::..SpellServerFindMisspelledWordInStringLanguageWordCountCountOnlyEventHandler Delegate
NamespacesMonobjc.FoundationNSSpellServerNSSpellServer..::..SpellServerFindMisspelledWordInStringLanguageWordCountCountOnlyEventHandler

Asks the delegate to search for a misspelled word in a given string, using the specified language, and marking the first misspelled word found by returning its range within the string.

Original signature is '- (NSRange)spellServer:(NSSpellServer *)sender findMisspelledWordInString:(NSString *)stringToCheck language:(NSString *)language wordCount:(NSInteger *)wordCount countOnly:(BOOL)countOnly'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public delegate NSRange SpellServerFindMisspelledWordInStringLanguageWordCountCountOnlyEventHandler(
	NSSpellServer sender,
	NSString stringToCheck,
	NSString language,
	out NSInteger wordCount,
	bool countOnly
)
Public Delegate Function SpellServerFindMisspelledWordInStringLanguageWordCountCountOnlyEventHandler ( _
	sender As NSSpellServer, _
	stringToCheck As NSString, _
	language As NSString, _
	<OutAttribute> ByRef wordCount As NSInteger, _
	countOnly As Boolean _
) As NSRange
public delegate NSRange SpellServerFindMisspelledWordInStringLanguageWordCountCountOnlyEventHandler(
	NSSpellServer^ sender, 
	NSString^ stringToCheck, 
	NSString^ language, 
	[OutAttribute] NSInteger% wordCount, 
	bool countOnly
)
Parameters
sender (NSSpellServer)
The NSSpellServer object that sent this message.
stringToCheck (NSString)
The string to search for the misspelled word.
language (NSString)
The language to use for the search.
wordCount (NSInteger%)
On output, returns by reference the number of words from the beginning of the string object until the misspelled word (or the end of string).
countOnly (Boolean)
If YES, the method only counts the words in the string object and does not spell checking.
Return Value
The range of the misspelled word within the given 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.Foundation (Module: Monobjc.Foundation)