Gets the word at a given position in the string.

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

Syntax

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

Parameters

text
Type: System..::..String
String that contains the text.
pos
Type: System..::..Int32
Position where to look for a word.
ignore
Type: C1.Silverlight.SpellChecker..::..IgnoreOptions
IgnoreOptions that determines words to ignore.

Return Value

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

See Also