# C1.Zip.C1ZipEntryCollection

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Zip_C1ZipEntryCollection" data-uid="C1.Zip.C1ZipEntryCollection" class="text-break">C1ZipEntryCollection Class
</h1>
  <div class="markdown level0 summary"><p>A collection of <a class="xref" href="C1.Zip.C1ZipEntry.html">C1ZipEntry</a> objects that represent the contents of
a zip 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="https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1">List</a>&lt;<a class="xref" href="C1.Zip.C1ZipEntry.html">C1ZipEntry</a>&gt;</div>
    <div class="level2"><span class="xref">C1ZipEntryCollection</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.Zip.C1ZipEntry.html">C1ZipEntry</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.Zip.C1ZipEntry.html">C1ZipEntry</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.Zip.C1ZipEntry.html">C1ZipEntry</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.Zip.C1ZipEntry.html">C1ZipEntry</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.Zip.C1ZipEntry.html">C1ZipEntry</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.Zip.html">C1.Zip</a></h6>
  <h6><strong>Assembly</strong>: C1.Zip.dll</h6>
  <h5 id="C1_Zip_C1ZipEntryCollection_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class C1ZipEntryCollection : List&lt;C1ZipEntry&gt;, IList&lt;C1ZipEntry&gt;, ICollection&lt;C1ZipEntry&gt;, IList, ICollection, IReadOnlyList&lt;C1ZipEntry&gt;, IReadOnlyCollection&lt;C1ZipEntry&gt;, IEnumerable&lt;C1ZipEntry&gt;, IEnumerable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class C1ZipEntryCollection
    Inherits List(Of C1ZipEntry)
    Implements IList(Of C1ZipEntry), ICollection(Of C1ZipEntry), IList, ICollection, IReadOnlyList(Of C1ZipEntry), IReadOnlyCollection(Of C1ZipEntry), IEnumerable(Of C1ZipEntry), IEnumerable</code></pre>
  </div>
  <h5 id="C1_Zip_C1ZipEntryCollection_remarks"><strong>Remarks</strong></h5>
  <div class="markdown level0 remarks"><p>Use the <b>C1ZipEntryCollection</b> to programmatically manage the contents of zip
files. You can add, remove, extract, or insert items into the <b>C1ZipEntryCollection</b>.</p>
</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_Zip_C1ZipEntryCollection_Item_System_String_" data-uid="C1.Zip.C1ZipEntryCollection.Item(System.String)">
          <a class="xref" href="C1.Zip.C1ZipEntryCollection.Item.html#C1_Zip_C1ZipEntryCollection_Item_System_String_">this[string]</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the <a class="xref" href="C1.Zip.C1ZipEntry.html">C1ZipEntry</a> with the given name (returns null if the entry cannot be found).</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_Zip_C1ZipEntryCollection_Add_System_IO_Stream_System_String_" data-uid="C1.Zip.C1ZipEntryCollection.Add(System.IO.Stream,System.String)">
          <a class="xref" href="C1.Zip.C1ZipEntryCollection.Add.html#C1_Zip_C1ZipEntryCollection_Add_System_IO_Stream_System_String_">Add(Stream, string)</a>
        </td>
        <td class="markdown level1 summary"><p>Adds a stream to the current zip file.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Zip_C1ZipEntryCollection_Add_System_IO_Stream_System_String_System_DateTime_" data-uid="C1.Zip.C1ZipEntryCollection.Add(System.IO.Stream,System.String,System.DateTime)">
          <a class="xref" href="C1.Zip.C1ZipEntryCollection.Add.html#C1_Zip_C1ZipEntryCollection_Add_System_IO_Stream_System_String_System_DateTime_">Add(Stream, string, DateTime)</a>
        </td>
        <td class="markdown level1 summary"><p>Adds a stream to the current zip file.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Zip_C1ZipEntryCollection_Add_System_String_" data-uid="C1.Zip.C1ZipEntryCollection.Add(System.String)">
          <a class="xref" href="C1.Zip.C1ZipEntryCollection.Add.html#C1_Zip_C1ZipEntryCollection_Add_System_String_">Add(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Adds an entry to the current zip file.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Zip_C1ZipEntryCollection_Add_System_String_System_Int32_" data-uid="C1.Zip.C1ZipEntryCollection.Add(System.String,System.Int32)">
          <a class="xref" href="C1.Zip.C1ZipEntryCollection.Add.html#C1_Zip_C1ZipEntryCollection_Add_System_String_System_Int32_">Add(string, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Adds an entry to the current zip file.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Zip_C1ZipEntryCollection_Add_System_String_System_String_" data-uid="C1.Zip.C1ZipEntryCollection.Add(System.String,System.String)">
          <a class="xref" href="C1.Zip.C1ZipEntryCollection.Add.html#C1_Zip_C1ZipEntryCollection_Add_System_String_System_String_">Add(string, string)</a>
        </td>
        <td class="markdown level1 summary"><p>Adds an entry to the current zip file.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Zip_C1ZipEntryCollection_Add_System_String_System_String_System_DateTime_" data-uid="C1.Zip.C1ZipEntryCollection.Add(System.String,System.String,System.DateTime)">
          <a class="xref" href="C1.Zip.C1ZipEntryCollection.Add.html#C1_Zip_C1ZipEntryCollection_Add_System_String_System_String_System_DateTime_">Add(string, string, DateTime)</a>
        </td>
        <td class="markdown level1 summary"><p>Adds an entry to the current zip file.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Zip_C1ZipEntryCollection_Add_System_String___" data-uid="C1.Zip.C1ZipEntryCollection.Add(System.String[])">
          <a class="xref" href="C1.Zip.C1ZipEntryCollection.Add.html#C1_Zip_C1ZipEntryCollection_Add_System_String___">Add(string[])</a>
        </td>
        <td class="markdown level1 summary"><p>Adds a list of entries to the current zip file.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Zip_C1ZipEntryCollection_AddAsync_System_IO_Stream_System_String_" data-uid="C1.Zip.C1ZipEntryCollection.AddAsync(System.IO.Stream,System.String)">
          <a class="xref" href="C1.Zip.C1ZipEntryCollection.AddAsync.html#C1_Zip_C1ZipEntryCollection_AddAsync_System_IO_Stream_System_String_">AddAsync(Stream, string)</a>
        </td>
        <td class="markdown level1 summary"><p>Asynchronous adds a stream to the current zip file.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Zip_C1ZipEntryCollection_AddAsync_System_IO_Stream_System_String_System_DateTime_" data-uid="C1.Zip.C1ZipEntryCollection.AddAsync(System.IO.Stream,System.String,System.DateTime)">
          <a class="xref" href="C1.Zip.C1ZipEntryCollection.AddAsync.html#C1_Zip_C1ZipEntryCollection_AddAsync_System_IO_Stream_System_String_System_DateTime_">AddAsync(Stream, string, DateTime)</a>
        </td>
        <td class="markdown level1 summary"><p>Asynchronous adds a stream to the current zip file.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Zip_C1ZipEntryCollection_AddAsync_System_String_" data-uid="C1.Zip.C1ZipEntryCollection.AddAsync(System.String)">
          <a class="xref" href="C1.Zip.C1ZipEntryCollection.AddAsync.html#C1_Zip_C1ZipEntryCollection_AddAsync_System_String_">AddAsync(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Asynchronous adds an entry to the current zip file.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Zip_C1ZipEntryCollection_AddAsync_System_String_System_Int32_" data-uid="C1.Zip.C1ZipEntryCollection.AddAsync(System.String,System.Int32)">
          <a class="xref" href="C1.Zip.C1ZipEntryCollection.AddAsync.html#C1_Zip_C1ZipEntryCollection_AddAsync_System_String_System_Int32_">AddAsync(string, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Asynchronous adds an entry to the current zip file.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Zip_C1ZipEntryCollection_AddAsync_System_String_System_String_" data-uid="C1.Zip.C1ZipEntryCollection.AddAsync(System.String,System.String)">
          <a class="xref" href="C1.Zip.C1ZipEntryCollection.AddAsync.html#C1_Zip_C1ZipEntryCollection_AddAsync_System_String_System_String_">AddAsync(string, string)</a>
        </td>
        <td class="markdown level1 summary"><p>Asynchronous adds an entry to the current zip file.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Zip_C1ZipEntryCollection_AddAsync_System_String_System_String_System_DateTime_" data-uid="C1.Zip.C1ZipEntryCollection.AddAsync(System.String,System.String,System.DateTime)">
          <a class="xref" href="C1.Zip.C1ZipEntryCollection.AddAsync.html#C1_Zip_C1ZipEntryCollection_AddAsync_System_String_System_String_System_DateTime_">AddAsync(string, string, DateTime)</a>
        </td>
        <td class="markdown level1 summary"><p>Asynchronous adds an entry to the current zip file.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Zip_C1ZipEntryCollection_AddAsync_System_String___" data-uid="C1.Zip.C1ZipEntryCollection.AddAsync(System.String[])">
          <a class="xref" href="C1.Zip.C1ZipEntryCollection.AddAsync.html#C1_Zip_C1ZipEntryCollection_AddAsync_System_String___">AddAsync(string[])</a>
        </td>
        <td class="markdown level1 summary"><p>Adds a list of entries to the current zip file.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Zip_C1ZipEntryCollection_AddFolder_System_String_" data-uid="C1.Zip.C1ZipEntryCollection.AddFolder(System.String)">
          <a class="xref" href="C1.Zip.C1ZipEntryCollection.AddFolder.html#C1_Zip_C1ZipEntryCollection_AddFolder_System_String_">AddFolder(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Adds the content of a folder to the current zip file.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Zip_C1ZipEntryCollection_AddFolder_System_String_System_String_" data-uid="C1.Zip.C1ZipEntryCollection.AddFolder(System.String,System.String)">
          <a class="xref" href="C1.Zip.C1ZipEntryCollection.AddFolder.html#C1_Zip_C1ZipEntryCollection_AddFolder_System_String_System_String_">AddFolder(string, string)</a>
        </td>
        <td class="markdown level1 summary"><p>Adds the content of a folder to the current zip file.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Zip_C1ZipEntryCollection_AddFolder_System_String_System_String_System_Boolean_" data-uid="C1.Zip.C1ZipEntryCollection.AddFolder(System.String,System.String,System.Boolean)">
          <a class="xref" href="C1.Zip.C1ZipEntryCollection.AddFolder.html#C1_Zip_C1ZipEntryCollection_AddFolder_System_String_System_String_System_Boolean_">AddFolder(string, string, bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Adds the content of a folder to the current zip file.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Zip_C1ZipEntryCollection_Contains_System_String_" data-uid="C1.Zip.C1ZipEntryCollection.Contains(System.String)">
          <a class="xref" href="C1.Zip.C1ZipEntryCollection.Contains.html#C1_Zip_C1ZipEntryCollection_Contains_System_String_">Contains(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Determines whether the collection contains an entry with a given name.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Zip_C1ZipEntryCollection_Extract_System_Int32_" data-uid="C1.Zip.C1ZipEntryCollection.Extract(System.Int32)">
          <a class="xref" href="C1.Zip.C1ZipEntryCollection.Extract.html#C1_Zip_C1ZipEntryCollection_Extract_System_Int32_">Extract(int)</a>
        </td>
        <td class="markdown level1 summary"><p>Extracts a file from the current zip file.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Zip_C1ZipEntryCollection_Extract_System_Int32_System_String_" data-uid="C1.Zip.C1ZipEntryCollection.Extract(System.Int32,System.String)">
          <a class="xref" href="C1.Zip.C1ZipEntryCollection.Extract.html#C1_Zip_C1ZipEntryCollection_Extract_System_Int32_System_String_">Extract(int, string)</a>
        </td>
        <td class="markdown level1 summary"><p>Extracts a file from the current zip file.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Zip_C1ZipEntryCollection_Extract_System_String_" data-uid="C1.Zip.C1ZipEntryCollection.Extract(System.String)">
          <a class="xref" href="C1.Zip.C1ZipEntryCollection.Extract.html#C1_Zip_C1ZipEntryCollection_Extract_System_String_">Extract(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Extracts a file from the current zip file.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Zip_C1ZipEntryCollection_Extract_System_String_System_String_" data-uid="C1.Zip.C1ZipEntryCollection.Extract(System.String,System.String)">
          <a class="xref" href="C1.Zip.C1ZipEntryCollection.Extract.html#C1_Zip_C1ZipEntryCollection_Extract_System_String_System_String_">Extract(string, string)</a>
        </td>
        <td class="markdown level1 summary"><p>Extracts a file from the current zip file.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Zip_C1ZipEntryCollection_ExtractAsync_System_Int32_" data-uid="C1.Zip.C1ZipEntryCollection.ExtractAsync(System.Int32)">
          <a class="xref" href="C1.Zip.C1ZipEntryCollection.ExtractAsync.html#C1_Zip_C1ZipEntryCollection_ExtractAsync_System_Int32_">ExtractAsync(int)</a>
        </td>
        <td class="markdown level1 summary"><p>Asynchronous extracts a file from the current zip file.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Zip_C1ZipEntryCollection_ExtractAsync_System_Int32_System_String_" data-uid="C1.Zip.C1ZipEntryCollection.ExtractAsync(System.Int32,System.String)">
          <a class="xref" href="C1.Zip.C1ZipEntryCollection.ExtractAsync.html#C1_Zip_C1ZipEntryCollection_ExtractAsync_System_Int32_System_String_">ExtractAsync(int, string)</a>
        </td>
        <td class="markdown level1 summary"><p>Asynchronous extracts a file from the current zip file.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Zip_C1ZipEntryCollection_ExtractAsync_System_String_" data-uid="C1.Zip.C1ZipEntryCollection.ExtractAsync(System.String)">
          <a class="xref" href="C1.Zip.C1ZipEntryCollection.ExtractAsync.html#C1_Zip_C1ZipEntryCollection_ExtractAsync_System_String_">ExtractAsync(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Asynchronous extracts a file from the current zip file.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Zip_C1ZipEntryCollection_ExtractAsync_System_String_System_String_" data-uid="C1.Zip.C1ZipEntryCollection.ExtractAsync(System.String,System.String)">
          <a class="xref" href="C1.Zip.C1ZipEntryCollection.ExtractAsync.html#C1_Zip_C1ZipEntryCollection_ExtractAsync_System_String_System_String_">ExtractAsync(string, string)</a>
        </td>
        <td class="markdown level1 summary"><p>Asynchronous extracts a file from the current zip file.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Zip_C1ZipEntryCollection_ExtractFolder_System_String_" data-uid="C1.Zip.C1ZipEntryCollection.ExtractFolder(System.String)">
          <a class="xref" href="C1.Zip.C1ZipEntryCollection.ExtractFolder.html#C1_Zip_C1ZipEntryCollection_ExtractFolder_System_String_">ExtractFolder(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Extracts the contents of the zip file into a specified path.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Zip_C1ZipEntryCollection_IndexOf_System_String_" data-uid="C1.Zip.C1ZipEntryCollection.IndexOf(System.String)">
          <a class="xref" href="C1.Zip.C1ZipEntryCollection.IndexOf.html#C1_Zip_C1ZipEntryCollection_IndexOf_System_String_">IndexOf(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the index of the entry with the specified name.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Zip_C1ZipEntryCollection_OpenWriter_System_String_System_Boolean_" data-uid="C1.Zip.C1ZipEntryCollection.OpenWriter(System.String,System.Boolean)">
          <a class="xref" href="C1.Zip.C1ZipEntryCollection.OpenWriter.html#C1_Zip_C1ZipEntryCollection_OpenWriter_System_String_System_Boolean_">OpenWriter(string, bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Opens a stream for writing an entry into the zip file.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Zip_C1ZipEntryCollection_OpenWriter_System_String_System_DateTime_System_Boolean_" data-uid="C1.Zip.C1ZipEntryCollection.OpenWriter(System.String,System.DateTime,System.Boolean)">
          <a class="xref" href="C1.Zip.C1ZipEntryCollection.OpenWriter.html#C1_Zip_C1ZipEntryCollection_OpenWriter_System_String_System_DateTime_System_Boolean_">OpenWriter(string, DateTime, bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Opens a stream for writing an entry into the zip file.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Zip_C1ZipEntryCollection_Remove_System_Int32_" data-uid="C1.Zip.C1ZipEntryCollection.Remove(System.Int32)">
          <a class="xref" href="C1.Zip.C1ZipEntryCollection.Remove.html#C1_Zip_C1ZipEntryCollection_Remove_System_Int32_">Remove(int)</a>
        </td>
        <td class="markdown level1 summary"><p>Removes an entry from the current zip file.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Zip_C1ZipEntryCollection_Remove_System_Int32___" data-uid="C1.Zip.C1ZipEntryCollection.Remove(System.Int32[])">
          <a class="xref" href="C1.Zip.C1ZipEntryCollection.Remove.html#C1_Zip_C1ZipEntryCollection_Remove_System_Int32___">Remove(int[])</a>
        </td>
        <td class="markdown level1 summary"><p>Removes several entries from the current zip file.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Zip_C1ZipEntryCollection_Remove_System_String_" data-uid="C1.Zip.C1ZipEntryCollection.Remove(System.String)">
          <a class="xref" href="C1.Zip.C1ZipEntryCollection.Remove.html#C1_Zip_C1ZipEntryCollection_Remove_System_String_">Remove(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Removes an entry from the current zip file.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Zip_C1ZipEntryCollection_Remove_System_String___" data-uid="C1.Zip.C1ZipEntryCollection.Remove(System.String[])">
          <a class="xref" href="C1.Zip.C1ZipEntryCollection.Remove.html#C1_Zip_C1ZipEntryCollection_Remove_System_String___">Remove(string[])</a>
        </td>
        <td class="markdown level1 summary"><p>Removes several entries from the current zip file.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
