# C1.Win.Util.CodeRanges

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Win_Util_CodeRanges" data-uid="C1.Win.Util.CodeRanges" class="text-break">CodeRanges Class
</h1>
  <div class="markdown level0 summary"><p>Represents collection of unique <a class="xref" href="C1.Win.Util.CodeRange.html">CodeRange</a> objects.
All CodeRange objects within collection not intersect and sorted
by First field.</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.Win.Util.CodeRange.html">CodeRange</a>&gt;</div>
    <div class="level2"><span class="xref">CodeRanges</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.Win.Util.CodeRange.html">CodeRange</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.Win.Util.CodeRange.html">CodeRange</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.Win.Util.CodeRange.html">CodeRange</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.Win.Util.CodeRange.html">CodeRange</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.Win.Util.CodeRange.html">CodeRange</a>&gt;</div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.ienumerable">IEnumerable</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.icloneable">ICloneable</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Win.Util.html">C1.Win.Util</a></h6>
  <h6><strong>Assembly</strong>: C1.Win.10.dll</h6>
  <h5 id="C1_Win_Util_CodeRanges_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class CodeRanges : List&lt;CodeRange&gt;, IList&lt;CodeRange&gt;, ICollection&lt;CodeRange&gt;, IList, ICollection, IReadOnlyList&lt;CodeRange&gt;, IReadOnlyCollection&lt;CodeRange&gt;, IEnumerable&lt;CodeRange&gt;, IEnumerable, ICloneable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class CodeRanges
    Inherits List(Of CodeRange)
    Implements IList(Of CodeRange), ICollection(Of CodeRange), IList, ICollection, IReadOnlyList(Of CodeRange), IReadOnlyCollection(Of CodeRange), IEnumerable(Of CodeRange), IEnumerable, ICloneable</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_Win_Util_CodeRanges__ctor" data-uid="C1.Win.Util.CodeRanges.#ctor">
          <a class="xref" href="C1.Win.Util.CodeRanges.-ctor.html#C1_Win_Util_CodeRanges__ctor">CodeRanges()</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_Win_Util_CodeRanges_Add_C1_Win_Util_CodeRange_" data-uid="C1.Win.Util.CodeRanges.Add(C1.Win.Util.CodeRange)">
          <a class="xref" href="C1.Win.Util.CodeRanges.Add.html#C1_Win_Util_CodeRanges_Add_C1_Win_Util_CodeRange_">Add(CodeRange)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Win_Util_CodeRanges_Add_System_Char_" data-uid="C1.Win.Util.CodeRanges.Add(System.Char)">
          <a class="xref" href="C1.Win.Util.CodeRanges.Add.html#C1_Win_Util_CodeRanges_Add_System_Char_">Add(char)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Win_Util_CodeRanges_Add_System_Char_System_Char_" data-uid="C1.Win.Util.CodeRanges.Add(System.Char,System.Char)">
          <a class="xref" href="C1.Win.Util.CodeRanges.Add.html#C1_Win_Util_CodeRanges_Add_System_Char_System_Char_">Add(char, char)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Win_Util_CodeRanges_Add_System_Char___" data-uid="C1.Win.Util.CodeRanges.Add(System.Char[])">
          <a class="xref" href="C1.Win.Util.CodeRanges.Add.html#C1_Win_Util_CodeRanges_Add_System_Char___">Add(char[])</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Win_Util_CodeRanges_Add_System_Collections_Generic_IEnumerable_C1_Win_Util_CodeRange__" data-uid="C1.Win.Util.CodeRanges.Add(System.Collections.Generic.IEnumerable{C1.Win.Util.CodeRange})">
          <a class="xref" href="C1.Win.Util.CodeRanges.Add.html#C1_Win_Util_CodeRanges_Add_System_Collections_Generic_IEnumerable_C1_Win_Util_CodeRange__">Add(IEnumerable&lt;CodeRange&gt;)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Win_Util_CodeRanges_Add_System_String_" data-uid="C1.Win.Util.CodeRanges.Add(System.String)">
          <a class="xref" href="C1.Win.Util.CodeRanges.Add.html#C1_Win_Util_CodeRanges_Add_System_String_">Add(string)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Win_Util_CodeRanges_AddNoCheck_C1_Win_Util_CodeRange_" data-uid="C1.Win.Util.CodeRanges.AddNoCheck(C1.Win.Util.CodeRange)">
          <a class="xref" href="C1.Win.Util.CodeRanges.AddNoCheck.html#C1_Win_Util_CodeRanges_AddNoCheck_C1_Win_Util_CodeRange_">AddNoCheck(CodeRange)</a>
        </td>
        <td class="markdown level1 summary"><p>Adds <a class="xref" href="C1.Win.Util.CodeRange.html">CodeRange</a> object to current without any check, typically used during deserialization.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Util_CodeRanges_AssignFrom_C1_Win_Util_CodeRanges_" data-uid="C1.Win.Util.CodeRanges.AssignFrom(C1.Win.Util.CodeRanges)">
          <a class="xref" href="C1.Win.Util.CodeRanges.AssignFrom.html#C1_Win_Util_CodeRanges_AssignFrom_C1_Win_Util_CodeRanges_">AssignFrom(CodeRanges)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Win_Util_CodeRanges_Clone" data-uid="C1.Win.Util.CodeRanges.Clone">
          <a class="xref" href="C1.Win.Util.CodeRanges.Clone.html#C1_Win_Util_CodeRanges_Clone">Clone()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Win_Util_CodeRanges_ContainsAllChars" data-uid="C1.Win.Util.CodeRanges.ContainsAllChars">
          <a class="xref" href="C1.Win.Util.CodeRanges.ContainsAllChars.html#C1_Win_Util_CodeRanges_ContainsAllChars">ContainsAllChars()</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a value indicating whether the <a class="xref" href="C1.Win.Util.CodeRanges.html">CodeRanges</a> collection
contains all characters from 0x0000 to 0xFFFF.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Util_CodeRanges_GetGlyphs" data-uid="C1.Win.Util.CodeRanges.GetGlyphs">
          <a class="xref" href="C1.Win.Util.CodeRanges.GetGlyphs.html#C1_Win_Util_CodeRanges_GetGlyphs">GetGlyphs()</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the array of chars contained in this list of code ranges.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
