ComponentOne SpellChecker for WinForms
GetNextWord Method (ISpellParser)

C1.Win.C1SpellChecker.4 Assembly > C1.Win.C1SpellChecker Namespace > ISpellParser Interface : GetNextWord Method
String that contains the text being spell-checked.
Position being checked within the text string.
IgnoreOptions that specifies types of words that should be ignored.
Last word retrieved by the parser (used to detect duplicates).
Method that retrieves the next word to spell-check in a string.
Syntax
'Declaration
 
Function GetNextWord( _
   ByVal text As System.String, _
   ByVal start As System.Integer, _
   ByVal ignore As IgnoreOptions, _
   ByVal previousWord As System.String _
) As CharRange
CharRange GetNextWord( 
   System.string text,
   System.int start,
   IgnoreOptions ignore,
   System.string previousWord
)

Parameters

text
String that contains the text being spell-checked.
start
Position being checked within the text string.
ignore
IgnoreOptions that specifies types of words that should be ignored.
previousWord
Last word retrieved by the parser (used to detect duplicates).

Return Value

A CharRange object that represents the next word to be spell-checked, or null if all the text has been spell-checked.
See Also

Reference

ISpellParser Interface
ISpellParser Members