# C1.WPF.SpellChecker.WordList

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_WPF_SpellChecker_WordList" data-uid="C1.WPF.SpellChecker.WordList" class="text-break">WordList Class
</h1>
  <div class="markdown level0 summary"><p>Keyed list of words to ignore while spell-checking.</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="https://learn.microsoft.com/dotnet/api/system.collections.objectmodel.collection-1">Collection</a>&lt;<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a>&gt;</div>
    <div class="level2"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.objectmodel.keyedcollection-2">KeyedCollection</a>&lt;<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a>, <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a>&gt;</div>
    <div class="level3"><span class="xref">WordList</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ilist-1">IList</a>&lt;<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a>&gt;</div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.icollection-1">ICollection</a>&lt;<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a>&gt;</div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.ilist">IList</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.icollection">ICollection</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ireadonlylist-1">IReadOnlyList</a>&lt;<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a>&gt;</div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ireadonlycollection-1">IReadOnlyCollection</a>&lt;<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a>&gt;</div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1">IEnumerable</a>&lt;<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a>&gt;</div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.ienumerable">IEnumerable</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_WordList_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class WordList : KeyedCollection&lt;int, string&gt;, IList&lt;string&gt;, ICollection&lt;string&gt;, IList, ICollection, IReadOnlyList&lt;string&gt;, IReadOnlyCollection&lt;string&gt;, IEnumerable&lt;string&gt;, IEnumerable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class WordList
    Inherits KeyedCollection(Of Integer, String)
    Implements IList(Of String), ICollection(Of String), IList, ICollection, IReadOnlyList(Of String), IReadOnlyCollection(Of String), IEnumerable(Of String), IEnumerable</code></pre>
  </div>
  <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_WordList_ClearItems" data-uid="C1.WPF.SpellChecker.WordList.ClearItems">
          <a class="xref" href="C1.WPF.SpellChecker.WordList.ClearItems.html#C1_WPF_SpellChecker_WordList_ClearItems">ClearItems()</a>
        </td>
        <td class="markdown level1 summary"><p>Removes all elements from the list.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_SpellChecker_WordList_GetKeyForItem_System_String_" data-uid="C1.WPF.SpellChecker.WordList.GetKeyForItem(System.String)">
          <a class="xref" href="C1.WPF.SpellChecker.WordList.GetKeyForItem.html#C1_WPF_SpellChecker_WordList_GetKeyForItem_System_String_">GetKeyForItem(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Obtains a key for the given element.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_SpellChecker_WordList_InsertItem_System_Int32_System_String_" data-uid="C1.WPF.SpellChecker.WordList.InsertItem(System.Int32,System.String)">
          <a class="xref" href="C1.WPF.SpellChecker.WordList.InsertItem.html#C1_WPF_SpellChecker_WordList_InsertItem_System_Int32_System_String_">InsertItem(int, string)</a>
        </td>
        <td class="markdown level1 summary"><p>Inserts a word into the list at the specified index.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_SpellChecker_WordList_RemoveItem_System_Int32_" data-uid="C1.WPF.SpellChecker.WordList.RemoveItem(System.Int32)">
          <a class="xref" href="C1.WPF.SpellChecker.WordList.RemoveItem.html#C1_WPF_SpellChecker_WordList_RemoveItem_System_Int32_">RemoveItem(int)</a>
        </td>
        <td class="markdown level1 summary"><p>Removes the word at the specified index from the collection.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
