[]
        
(Showing Draft Content)

C1.WPF.SpellChecker.UserDictionary.LoadFromIsolatedStorage

LoadFromIsolatedStorage Method

LoadFromIsolatedStorage(string, IsolatedStorageScope, Type, Type)

Loads the dictionary from a compressed file in isolated storage.

Declaration
public bool LoadFromIsolatedStorage(string fileName, IsolatedStorageScope scope = IsolatedStorageScope.User | IsolatedStorageScope.Domain | IsolatedStorageScope.Assembly, Type domainEvidenceType = null, Type assemblyEvidenceType = null)
Public Function LoadFromIsolatedStorage(fileName As String, Optional scope As IsolatedStorageScope = IsolatedStorageScope.User Or IsolatedStorageScope.Domain Or IsolatedStorageScope.Assembly, Optional domainEvidenceType As Type = Nothing, Optional assemblyEvidenceType As Type = Nothing) As Boolean
Parameters
Type Name Description
string fileName

Name of the file where the dictionary is stored.

IsolatedStorageScope scope

Isolated storage scope

Type domainEvidenceType

Domain evidence type

Type assemblyEvidenceType

Assembly evidence type

Returns
Type Description
bool

True if the dictionary was loaded successfully, false otherwise.

Remarks

The user dictionary file is usually created by calling the SaveToIsolatedStorage(string, IsolatedStorageScope, Type, Type) method.