ComponentOne SpellChecker for WinForms
C1.Win.SpellChecker.8 Assembly / C1.Win.SpellChecker Namespace / CharRange Class / GetWordAt Method
String that contains the text.
Position where to look for a word.
IgnoreOptions that determines words to ignore.

In This Topic
    GetWordAt Method (CharRange)
    In This Topic
    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