Gets the next word in a string, starting from a given position.

Namespace:  C1.Silverlight.SpellChecker
Assembly:  C1.Silverlight.SpellChecker (in C1.Silverlight.SpellChecker.dll)

Syntax

C#
public static CharRange GetNextWord(
	string text,
	int start,
	IgnoreOptions ignore,
	string previousWord
)
Visual Basic
Public Shared Function GetNextWord ( _
	text As String, _
	start As Integer, _
	ignore As IgnoreOptions, _
	previousWord As String _
) As CharRange

Parameters

text
Type: System..::..String
String that contains the text.
start
Type: System..::..Int32
Starting position where to look for a word.
ignore
Type: C1.Silverlight.SpellChecker..::..IgnoreOptions
IgnoreOptions that determines words to ignore.
previousWord
Type: System..::..String
Previous word (used to detect duplicates).

Return Value

A CharRange object that contains the next word in the string, or null if there are no more words in the string.

See Also