MonobjcMonobjc Documented Class Library
GuessesForWordRangeInStringLanguageInSpellDocumentWithTag Method (range, string, language, tag)
NamespacesMonobjc.AppKitNSSpellCheckerGuessesForWordRangeInStringLanguageInSpellDocumentWithTag(NSRange, NSString, NSString, NSInteger)

Returns an array of possible substitutions for the specified string.

Original signature is '- (NSArray *)guessesForWordRange:(NSRange)range inString:(NSString *)string language:(NSString *)language inSpellDocumentWithTag:(NSInteger)tag'

Available in Mac OS X v10.6 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual NSArray GuessesForWordRangeInStringLanguageInSpellDocumentWithTag(
	NSRange range,
	NSString string,
	NSString language,
	NSInteger tag
)
Public Overridable Function GuessesForWordRangeInStringLanguageInSpellDocumentWithTag ( _
	range As NSRange, _
	string As NSString, _
	language As NSString, _
	tag As NSInteger _
) As NSArray
public:
virtual NSArray^ GuessesForWordRangeInStringLanguageInSpellDocumentWithTag(
	NSRange range, 
	NSString^ string, 
	NSString^ language, 
	NSInteger tag
)
Parameters
range (NSRange)
The range of the string to check.
string (NSString)
The string to guess
language (NSString)
The language of the string
tag (NSInteger)
An identifier unique within the application used to inform the spell checker which document that text is associated, potentially for many purposes, not necessarily just for ignored words. A value of 0 can be passed in for text not associated with a particular document.
Return Value
An array of strings containing possible replacement words.
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later)

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