ComponentOne SpellChecker for WinForms
C1.Win.SpellChecker.8 Assembly / C1.Win.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).

In This Topic
    GetNextWord Method (ISpellParser)
    In This Topic
    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