ComponentOne SpellChecker for WPF and Silverlight
GetNextWord Method (ISpellParser)

C1.Silverlight.SpellChecker 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 String, _
   ByVal start As Integer, _
   ByVal ignore As IgnoreOptions, _
   ByVal previousWord As String _
) As CharRange

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