ComponentOne Basic Library for WPF and Silverlight
GetSuggestions Method (ISpellChecker)


C1.Silverlight Namespace > ISpellChecker Interface : GetSuggestions Method
Word to suggest alternatives for.
Maximum number of suggestions to provide.
Gets a list of suggestions for a misspelled word.
Syntax
'Declaration
 
Function GetSuggestions( _
   ByVal word As System.String, _
   ByVal maxSuggestions As System.Integer _
) As System.Collections.Generic.IEnumerable(Of String)
'Usage
 
Dim instance As ISpellChecker
Dim word As System.String
Dim maxSuggestions As System.Integer
Dim value As System.Collections.Generic.IEnumerable(Of String)
 
value = instance.GetSuggestions(word, maxSuggestions)
System.Collections.Generic.IEnumerable<string> GetSuggestions( 
   System.string word,
   System.int maxSuggestions
)

Parameters

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

Return Value

A list of suggestions for the word parameter.
See Also

Reference

ISpellChecker Interface
ISpellChecker Members