# C1.Win.SpellChecker.SpellDictionaryBase

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Win_SpellChecker_SpellDictionaryBase" data-uid="C1.Win.SpellChecker.SpellDictionaryBase" class="text-break">SpellDictionaryBase Class
</h1>
  <div class="markdown level0 summary"><p>Base class for built-in and user dictionaries (see (<a class="xref" href="C1.Win.SpellChecker.SpellDictionary.html">SpellDictionary</a> and
<a class="xref" href="C1.Win.SpellChecker.UserDictionary.html">UserDictionary</a>).</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"><span class="xref">SpellDictionaryBase</span></div>
      <div class="level2"><a class="xref" href="C1.Win.SpellChecker.SpellDictionary.html">SpellDictionary</a></div>
      <div class="level2"><a class="xref" href="C1.Win.SpellChecker.UserDictionary.html">UserDictionary</a></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="C1.Win.SpellChecker.ISpellDictionary.html">ISpellDictionary</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Win.SpellChecker.html">C1.Win.SpellChecker</a></h6>
  <h6><strong>Assembly</strong>: C1.Win.SpellChecker.4.8.dll</h6>
  <h5 id="C1_Win_SpellChecker_SpellDictionaryBase_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[TypeConverter(typeof(ExpandableObjectConverter))]
public abstract class SpellDictionaryBase : ISpellDictionary</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">&lt;TypeConverter(GetType(ExpandableObjectConverter))&gt;
Public MustInherit Class SpellDictionaryBase
    Implements ISpellDictionary</code></pre>
  </div>
  <h3 id="fields">Fields
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Win_SpellChecker_SpellDictionaryBase_m_enabled" data-uid="C1.Win.SpellChecker.SpellDictionaryBase.m_enabled">
          <a class="xref" href="C1.Win.SpellChecker.SpellDictionaryBase.m_enabled.html">m_enabled</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether the dictionary is enabled.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_SpellChecker_SpellDictionaryBase_m_fileName" data-uid="C1.Win.SpellChecker.SpellDictionaryBase.m_fileName">
          <a class="xref" href="C1.Win.SpellChecker.SpellDictionaryBase.m_fileName.html">m_fileName</a>
        </td>
        <td class="markdown level1 summary"><p>Name of the file where the word list was loaded from.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_SpellChecker_SpellDictionaryBase_m_spell" data-uid="C1.Win.SpellChecker.SpellDictionaryBase.m_spell">
          <a class="xref" href="C1.Win.SpellChecker.SpellDictionaryBase.m_spell.html">m_spell</a>
        </td>
        <td class="markdown level1 summary"><p><a class="xref" href="C1.Win.SpellChecker.C1SpellChecker.html">C1SpellChecker</a> that owns the dictionary.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_SpellChecker_SpellDictionaryBase_m_state" data-uid="C1.Win.SpellChecker.SpellDictionaryBase.m_state">
          <a class="xref" href="C1.Win.SpellChecker.SpellDictionaryBase.m_state.html">m_state</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a <a class="xref" href="C1.Win.SpellChecker.DictionaryState.html">DictionaryState</a> value that indicates whether
the dictionary has been loaded or why it hasn't.</p>
</td>
      </tr>
    </tbody>
  </table>
  <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_Win_SpellChecker_SpellDictionaryBase_Enabled" data-uid="C1.Win.SpellChecker.SpellDictionaryBase.Enabled">
          <a class="xref" href="C1.Win.SpellChecker.SpellDictionaryBase.Enabled.html#C1_Win_SpellChecker_SpellDictionaryBase_Enabled">Enabled</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether the dictionary is enabled.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_SpellChecker_SpellDictionaryBase_FileName" data-uid="C1.Win.SpellChecker.SpellDictionaryBase.FileName">
          <a class="xref" href="C1.Win.SpellChecker.SpellDictionaryBase.FileName.html#C1_Win_SpellChecker_SpellDictionaryBase_FileName">FileName</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the name of the file that contains the dictionary.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_SpellChecker_SpellDictionaryBase_State" data-uid="C1.Win.SpellChecker.SpellDictionaryBase.State">
          <a class="xref" href="C1.Win.SpellChecker.SpellDictionaryBase.State.html#C1_Win_SpellChecker_SpellDictionaryBase_State">State</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a <a class="xref" href="C1.Win.SpellChecker.DictionaryState.html">DictionaryState</a> value that indicates whether the dictionary was loaded
successfully.</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_Win_SpellChecker_SpellDictionaryBase_Contains_System_String_" data-uid="C1.Win.SpellChecker.SpellDictionaryBase.Contains(System.String)">
          <a class="xref" href="C1.Win.SpellChecker.SpellDictionaryBase.Contains.html#C1_Win_SpellChecker_SpellDictionaryBase_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_Win_SpellChecker_SpellDictionaryBase_EnsureLoaded" data-uid="C1.Win.SpellChecker.SpellDictionaryBase.EnsureLoaded">
          <a class="xref" href="C1.Win.SpellChecker.SpellDictionaryBase.EnsureLoaded.html#C1_Win_SpellChecker_SpellDictionaryBase_EnsureLoaded">EnsureLoaded()</a>
        </td>
        <td class="markdown level1 summary"><p>Ensures the dictionary is loaded, reading words from the file if necessary.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_SpellChecker_SpellDictionaryBase_GetFileName_System_Boolean_" data-uid="C1.Win.SpellChecker.SpellDictionaryBase.GetFileName(System.Boolean)">
          <a class="xref" href="C1.Win.SpellChecker.SpellDictionaryBase.GetFileName.html#C1_Win_SpellChecker_SpellDictionaryBase_GetFileName_System_Boolean_">GetFileName(bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the fully qualified name of the file that contains the dictionary.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_SpellChecker_SpellDictionaryBase_Load" data-uid="C1.Win.SpellChecker.SpellDictionaryBase.Load">
          <a class="xref" href="C1.Win.SpellChecker.SpellDictionaryBase.Load.html#C1_Win_SpellChecker_SpellDictionaryBase_Load">Load()</a>
        </td>
        <td class="markdown level1 summary"><p>Loads the dictionary from the file specified by the <a class="xref" href="C1.Win.SpellChecker.SpellDictionaryBase.FileName.html#C1_Win_SpellChecker_SpellDictionaryBase_FileName">FileName</a> property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_SpellChecker_SpellDictionaryBase_ToString" data-uid="C1.Win.SpellChecker.SpellDictionaryBase.ToString">
          <a class="xref" href="C1.Win.SpellChecker.SpellDictionaryBase.ToString.html#C1_Win_SpellChecker_SpellDictionaryBase_ToString">ToString()</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a string that represents this object.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
