# C1.WPF.SpellChecker.CharRangeList

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_WPF_SpellChecker_CharRangeList" data-uid="C1.WPF.SpellChecker.CharRangeList" class="text-break">CharRangeList Class
</h1>
  <div class="markdown level0 summary"><p>List of <a class="xref" href="C1.WPF.SpellChecker.CharRange.html">CharRange</a> objects.</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.generic.list-1">List</a>&lt;<a class="xref" href="C1.WPF.SpellChecker.CharRange.html">CharRange</a>&gt;</div>
    <div class="level2"><span class="xref">CharRangeList</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="C1.WPF.SpellChecker.CharRange.html">CharRange</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="C1.WPF.SpellChecker.CharRange.html">CharRange</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="C1.WPF.SpellChecker.CharRange.html">CharRange</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="C1.WPF.SpellChecker.CharRange.html">CharRange</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="C1.WPF.SpellChecker.CharRange.html">CharRange</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_CharRangeList_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class CharRangeList : List&lt;CharRange&gt;, IList&lt;CharRange&gt;, ICollection&lt;CharRange&gt;, IList, ICollection, IReadOnlyList&lt;CharRange&gt;, IReadOnlyCollection&lt;CharRange&gt;, IEnumerable&lt;CharRange&gt;, IEnumerable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class CharRangeList
    Inherits List(Of CharRange)
    Implements IList(Of CharRange), ICollection(Of CharRange), IList, ICollection, IReadOnlyList(Of CharRange), IReadOnlyCollection(Of CharRange), IEnumerable(Of CharRange), IEnumerable</code></pre>
  </div>
  <h3 id="constructors">Constructors
</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_CharRangeList__ctor" data-uid="C1.WPF.SpellChecker.CharRangeList.#ctor">
          <a class="xref" href="C1.WPF.SpellChecker.CharRangeList.-ctor.html#C1_WPF_SpellChecker_CharRangeList__ctor">CharRangeList()</a>
        </td>
        <td class="markdown level1 summary"></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_CharRangeList_Add_System_String_System_Int32_System_Boolean_" data-uid="C1.WPF.SpellChecker.CharRangeList.Add(System.String,System.Int32,System.Boolean)">
          <a class="xref" href="C1.WPF.SpellChecker.CharRangeList.Add.html#C1_WPF_SpellChecker_CharRangeList_Add_System_String_System_Int32_System_Boolean_">Add(string, int, bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Adds a new <a class="xref" href="C1.WPF.SpellChecker.CharRange.html">CharRange</a> to the list.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_SpellChecker_CharRangeList_Equals_System_Object_" data-uid="C1.WPF.SpellChecker.CharRangeList.Equals(System.Object)">
          <a class="xref" href="C1.WPF.SpellChecker.CharRangeList.Equals.html#C1_WPF_SpellChecker_CharRangeList_Equals_System_Object_">Equals(object)</a>
        </td>
        <td class="markdown level1 summary"><p>Determines whether the given <a class="xref" href="C1.WPF.SpellChecker.CharRangeList.html">CharRangeList</a> is equal to this one.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_SpellChecker_CharRangeList_GetHashCode" data-uid="C1.WPF.SpellChecker.CharRangeList.GetHashCode">
          <a class="xref" href="C1.WPF.SpellChecker.CharRangeList.GetHashCode.html#C1_WPF_SpellChecker_CharRangeList_GetHashCode">GetHashCode()</a>
        </td>
        <td class="markdown level1 summary"><p>Serves as a hash function for the <a class="xref" href="C1.WPF.SpellChecker.CharRangeList.html">CharRangeList</a> type.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_SpellChecker_CharRangeList_GetRangeFromPosition_System_Int32_" data-uid="C1.WPF.SpellChecker.CharRangeList.GetRangeFromPosition(System.Int32)">
          <a class="xref" href="C1.WPF.SpellChecker.CharRangeList.GetRangeFromPosition.html#C1_WPF_SpellChecker_CharRangeList_GetRangeFromPosition_System_Int32_">GetRangeFromPosition(int)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the <a class="xref" href="C1.WPF.SpellChecker.CharRange.html">CharRange</a> that contains a specified position within the text.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_SpellChecker_CharRangeList_GetRangeIndexFromPosition_System_Int32_" data-uid="C1.WPF.SpellChecker.CharRangeList.GetRangeIndexFromPosition(System.Int32)">
          <a class="xref" href="C1.WPF.SpellChecker.CharRangeList.GetRangeIndexFromPosition.html#C1_WPF_SpellChecker_CharRangeList_GetRangeIndexFromPosition_System_Int32_">GetRangeIndexFromPosition(int)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the index of the <a class="xref" href="C1.WPF.SpellChecker.CharRange.html">CharRange</a> that contains the specified position within the text.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
