Method that retrieves the next word to spell-check in a string.
'Declaration
Function GetNextWord( _
ByVal As System.String, _
ByVal As System.Integer, _
ByVal As IgnoreOptions, _
ByVal As System.String _
) As CharRange
CharRange GetNextWord(
System.string ,
System.int ,
IgnoreOptions ,
System.string
)
Parameters
- text
- String that contains the text being spell-checked.
- start
- Position being checked within the 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.