RichTextBox for WPF | ComponentOne
C1.WPF.SpellChecker Namespace / C1SpellChecker Class / GetSuggestions Method / GetSuggestions(String,Int32) Method
Word to suggest alternatives for.
Maximum number of suggestions to provide.

In This Topic
    GetSuggestions(String,Int32) Method
    In This Topic
    Gets an array containing suggestions for a misspelled word.
    Syntax
    'Declaration
     
    
    Public Overloads Function GetSuggestions( _
       ByVal word As String, _
       ByVal maxCount As Integer _
    ) As String()
    public string[] GetSuggestions( 
       string word,
       int maxCount
    )

    Parameters

    word
    Word to suggest alternatives for.
    maxCount
    Maximum number of suggestions to provide.

    Return Value

    An array containing suggestions for the word parameter.
    See Also