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 Basic | Visual C++ |
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)