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

Gives the delegate the opportunity to customize the grammatical analysis of a given string.

Original signature is '- (NSRange)spellServer:(NSSpellServer *)sender checkGrammarInString:(NSString *)string language:(NSString *)language details:(NSArray **)outDetails'

Available in Mac OS X v10.5 and later.

Declaration Syntax
C#Visual BasicVisual C++
public delegate NSRange SpellServerCheckGrammarInStringLanguageDetailsEventHandler(
	NSSpellServer sender,
	NSString string,
	NSString language,
	out NSArray outDetails
)
Public Delegate Function SpellServerCheckGrammarInStringLanguageDetailsEventHandler ( _
	sender As NSSpellServer, _
	string As NSString, _
	language As NSString, _
	<OutAttribute> ByRef outDetails As NSArray _
) As NSRange
public delegate NSRange SpellServerCheckGrammarInStringLanguageDetailsEventHandler(
	NSSpellServer^ sender, 
	NSString^ string, 
	NSString^ language, 
	[OutAttribute] NSArray^% outDetails
)
Parameters
sender (NSSpellServer)
Spell server satisfying a grammatical analysis request.
string (NSString)
String to analyze.
language (NSString)
Language use in string. When nil, the language selected in the Spelling panel is used.
outDetails (NSArray%)
On output, dictionaries describing grammar-analysis details within the flagged grammatical unit. See the NSSpellServer class for information about these dictionaries.
Return Value
Location of the first flagged grammatical unit within 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)