# C1.WPF.SpellChecker.SpellDictionary

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_WPF_SpellChecker_SpellDictionary" data-uid="C1.WPF.SpellChecker.SpellDictionary" class="text-break">SpellDictionary Class
</h1>
  <div class="markdown level0 summary"><p>Class that contains a list of words and methods looking them up and loading them from a compressed file.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
    <div class="level1"><a class="xref" href="C1.WPF.SpellChecker.SpellDictionaryBase.html">SpellDictionaryBase</a></div>
    <div class="level2"><span class="xref">SpellDictionary</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="C1.WPF.SpellChecker.ISpellDictionary.html">ISpellDictionary</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.WPF.SpellChecker.html">C1.WPF.SpellChecker</a></h6>
  <h6><strong>Assembly</strong>: C1.WPF.SpellChecker.4.6.2.dll</h6>
  <h5 id="C1_WPF_SpellChecker_SpellDictionary_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class SpellDictionary : SpellDictionaryBase, ISpellDictionary</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class SpellDictionary
    Inherits SpellDictionaryBase
    Implements ISpellDictionary</code></pre>
  </div>
  <h3 id="properties">Properties
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_WPF_SpellChecker_SpellDictionary_Password" data-uid="C1.WPF.SpellChecker.SpellDictionary.Password">
          <a class="xref" href="C1.WPF.SpellChecker.SpellDictionary.Password.html#C1_WPF_SpellChecker_SpellDictionary_Password">Password</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the password needed to load password-protected dictionaries.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_SpellChecker_SpellDictionary_WordCount" data-uid="C1.WPF.SpellChecker.SpellDictionary.WordCount">
          <a class="xref" href="C1.WPF.SpellChecker.SpellDictionary.WordCount.html#C1_WPF_SpellChecker_SpellDictionary_WordCount">WordCount</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the number of words loaded in the dictionary.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="methods">Methods
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_WPF_SpellChecker_SpellDictionary_Contains_System_String_" data-uid="C1.WPF.SpellChecker.SpellDictionary.Contains(System.String)">
          <a class="xref" href="C1.WPF.SpellChecker.SpellDictionary.Contains.html#C1_WPF_SpellChecker_SpellDictionary_Contains_System_String_">Contains(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Checks whether the dictionary contains a given word.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_SpellChecker_SpellDictionary_Load_System_IO_Stream_" data-uid="C1.WPF.SpellChecker.SpellDictionary.Load(System.IO.Stream)">
          <a class="xref" href="C1.WPF.SpellChecker.SpellDictionary.Load.html#C1_WPF_SpellChecker_SpellDictionary_Load_System_IO_Stream_">Load(Stream)</a>
        </td>
        <td class="markdown level1 summary"><p>Loads the dictionary from a stream containing the compressed dictionary data.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_SpellChecker_SpellDictionary_Load_System_String_" data-uid="C1.WPF.SpellChecker.SpellDictionary.Load(System.String)">
          <a class="xref" href="C1.WPF.SpellChecker.SpellDictionary.Load.html#C1_WPF_SpellChecker_SpellDictionary_Load_System_String_">Load(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Loads the dictionary from a file.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
