ComponentOne SpellChecker for WPF and Silverlight
LoadAsync(Uri) Method

C1.Silverlight.SpellChecker Namespace > SpellDictionaryBase Class > LoadAsync Method : LoadAsync(Uri) Method
Uri that points to the compressed dictionary data.
Loads the dictionary from a Uri pointing to the compressed dictionary data.
Syntax
'Declaration
 
Public Overloads Sub LoadAsync( _
   ByVal uri As Uri _
) 
public void LoadAsync( 
   Uri uri
)

Parameters

uri
Uri that points to the compressed dictionary data.
Remarks

When this method completes, it fires the LoadCompleted event.

LoadAsync downloads the dictionary by creating a System.Net.WebClient object and calling its System.Net.WebClient.OpenReadAsync(System.Uri) method. This call will fail if the server is not configured to serve the file extension used by the dictionary file. If this happens, you have a few easy ways to solve the problem:

See Also

Reference

SpellDictionaryBase Class
SpellDictionaryBase Members
Overload List