# C1.WPF.SpellChecker.UserDictionary.LoadFromIsolatedStorage

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_WPF_SpellChecker_UserDictionary_LoadFromIsolatedStorage_" data-uid="C1.WPF.SpellChecker.UserDictionary.LoadFromIsolatedStorage*">LoadFromIsolatedStorage Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_WPF_SpellChecker_UserDictionary_LoadFromIsolatedStorage_" data-uid="C1.WPF.SpellChecker.UserDictionary.LoadFromIsolatedStorage*"></a>
<h4 id="C1_WPF_SpellChecker_UserDictionary_LoadFromIsolatedStorage_System_String_System_IO_IsolatedStorage_IsolatedStorageScope_System_Type_System_Type_" data-uid="C1.WPF.SpellChecker.UserDictionary.LoadFromIsolatedStorage(System.String,System.IO.IsolatedStorage.IsolatedStorageScope,System.Type,System.Type)">LoadFromIsolatedStorage(string, IsolatedStorageScope, Type, Type)</h4>
<div class="markdown level1 summary"><p>Loads the dictionary from a compressed file in isolated storage.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public bool LoadFromIsolatedStorage(string fileName, IsolatedStorageScope scope = IsolatedStorageScope.User | IsolatedStorageScope.Domain | IsolatedStorageScope.Assembly, Type domainEvidenceType = null, Type assemblyEvidenceType = null)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">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</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">fileName</span></td>
      <td><p>Name of the file where the dictionary is stored.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.io.isolatedstorage.isolatedstoragescope">IsolatedStorageScope</a></td>
      <td><span class="parametername">scope</span></td>
      <td><p>Isolated storage scope</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.type">Type</a></td>
      <td><span class="parametername">domainEvidenceType</span></td>
      <td><p>Domain evidence type</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.type">Type</a></td>
      <td><span class="parametername">assemblyEvidenceType</span></td>
      <td><p>Assembly evidence type</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><p>True if the dictionary was loaded successfully, false otherwise.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="C1_WPF_SpellChecker_UserDictionary_LoadFromIsolatedStorage_System_String_System_IO_IsolatedStorage_IsolatedStorageScope_System_Type_System_Type__remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>The user dictionary file is usually created by calling the
<a class="xref" href="C1.WPF.SpellChecker.UserDictionary.SaveToIsolatedStorage.html#C1_WPF_SpellChecker_UserDictionary_SaveToIsolatedStorage_System_String_System_IO_IsolatedStorage_IsolatedStorageScope_System_Type_System_Type_">SaveToIsolatedStorage(string, IsolatedStorageScope, Type, Type)</a> method.</p>
</div>
</div>
