ComponentOne SpellChecker for WinForms
GetWordAt Method

C1.Win.C1SpellChecker.4 Assembly > C1.Win.C1SpellChecker Namespace > CharRange Class : GetWordAt Method
String that contains the text.
Position where to look for a word.
IgnoreOptions that determines words to ignore.
Gets the word at a given position in the string.
Syntax
'Declaration
 
Public Shared Function GetWordAt( _
   ByVal text As System.String, _
   ByVal pos As System.Integer, _
   ByVal ignore As IgnoreOptions _
) As CharRange
public static CharRange GetWordAt( 
   System.string text,
   System.int pos,
   IgnoreOptions ignore
)

Parameters

text
String that contains the text.
pos
Position where to look for a word.
ignore
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

Reference

CharRange Class
CharRange Members