# GrapeCity.Spreadsheet.IWorkbooks

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_Spreadsheet_IWorkbooks" data-uid="GrapeCity.Spreadsheet.IWorkbooks" class="text-break">IWorkbooks Interface
</h1>
  <div class="markdown level0 summary"><p>Represents a set of workbooks in a workbook set.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.Spreadsheet.html">GrapeCity.Spreadsheet</a></h6>
  <h6><strong>Assembly</strong>: GrapeCity.Spreadsheet.dll</h6>
  <h5 id="GrapeCity_Spreadsheet_IWorkbooks_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public interface IWorkbooks : IEnumerable&lt;IWorkbook&gt;, IEnumerable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Interface IWorkbooks
    Inherits IEnumerable(Of IWorkbook), IEnumerable</code></pre>
  </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="GrapeCity_Spreadsheet_IWorkbooks_Count" data-uid="GrapeCity.Spreadsheet.IWorkbooks.Count">
          <a class="xref" href="GrapeCity.Spreadsheet.IWorkbooks.Count.html#GrapeCity_Spreadsheet_IWorkbooks_Count">Count</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the number of workbooks in the workbook set.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_IWorkbooks_Item_System_Int32_" data-uid="GrapeCity.Spreadsheet.IWorkbooks.Item(System.Int32)">
          <a class="xref" href="GrapeCity.Spreadsheet.IWorkbooks.Item.html#GrapeCity_Spreadsheet_IWorkbooks_Item_System_Int32_">this[int]</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the specified <a class="xref" href="GrapeCity.Spreadsheet.IWorkbook.html">IWorkbook</a> by the zero based index.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_IWorkbooks_Item_System_String_" data-uid="GrapeCity.Spreadsheet.IWorkbooks.Item(System.String)">
          <a class="xref" href="GrapeCity.Spreadsheet.IWorkbooks.Item.html#GrapeCity_Spreadsheet_IWorkbooks_Item_System_String_">this[string]</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the specified <a class="xref" href="GrapeCity.Spreadsheet.IWorkbook.html">IWorkbook</a> by the <a class="xref" href="GrapeCity.Spreadsheet.IWorkbook.html">IWorkbook</a> name.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_IWorkbooks_WorkbookSet" data-uid="GrapeCity.Spreadsheet.IWorkbooks.WorkbookSet">
          <a class="xref" href="GrapeCity.Spreadsheet.IWorkbooks.WorkbookSet.html#GrapeCity_Spreadsheet_IWorkbooks_WorkbookSet">WorkbookSet</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the parent workbook set of this IWorksheets.</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="GrapeCity_Spreadsheet_IWorkbooks_Add_GrapeCity_Spreadsheet_IWorkbook_" data-uid="GrapeCity.Spreadsheet.IWorkbooks.Add(GrapeCity.Spreadsheet.IWorkbook)">
          <a class="xref" href="GrapeCity.Spreadsheet.IWorkbooks.Add.html#GrapeCity_Spreadsheet_IWorkbooks_Add_GrapeCity_Spreadsheet_IWorkbook_">Add(IWorkbook)</a>
        </td>
        <td class="markdown level1 summary"><p>Adds an existed workbook into the workbook set.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_IWorkbooks_Add_System_String_" data-uid="GrapeCity.Spreadsheet.IWorkbooks.Add(System.String)">
          <a class="xref" href="GrapeCity.Spreadsheet.IWorkbooks.Add.html#GrapeCity_Spreadsheet_IWorkbooks_Add_System_String_">Add(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a new workbook.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_IWorkbooks_Open_System_IO_Stream_GrapeCity_Spreadsheet_IO_OpenXml_ImportContext_System_Boolean_" data-uid="GrapeCity.Spreadsheet.IWorkbooks.Open(System.IO.Stream,GrapeCity.Spreadsheet.IO.OpenXml.ImportContext,System.Boolean)">
          <a class="xref" href="GrapeCity.Spreadsheet.IWorkbooks.Open.html#GrapeCity_Spreadsheet_IWorkbooks_Open_System_IO_Stream_GrapeCity_Spreadsheet_IO_OpenXml_ImportContext_System_Boolean_">Open(Stream, ImportContext, bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Open an existing workbook in a newly created instance of <span class="xref">GrapeCity.Spreadsheet.Workbook</span>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_IWorkbooks_Open_System_String_GrapeCity_Spreadsheet_IO_OpenXml_ImportContext_" data-uid="GrapeCity.Spreadsheet.IWorkbooks.Open(System.String,GrapeCity.Spreadsheet.IO.OpenXml.ImportContext)">
          <a class="xref" href="GrapeCity.Spreadsheet.IWorkbooks.Open.html#GrapeCity_Spreadsheet_IWorkbooks_Open_System_String_GrapeCity_Spreadsheet_IO_OpenXml_ImportContext_">Open(string, ImportContext)</a>
        </td>
        <td class="markdown level1 summary"><p>Open an existing workbook in a newly created instance of <span class="xref">GrapeCity.Spreadsheet.Workbook</span>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_IWorkbooks_OpenXML_System_IO_Stream_" data-uid="GrapeCity.Spreadsheet.IWorkbooks.OpenXML(System.IO.Stream)">
          <a class="xref" href="GrapeCity.Spreadsheet.IWorkbooks.OpenXML.html#GrapeCity_Spreadsheet_IWorkbooks_OpenXML_System_IO_Stream_">OpenXML(Stream)</a>
        </td>
        <td class="markdown level1 summary"><p>Opens an XML data file.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_IWorkbooks_OpenXML_System_String_" data-uid="GrapeCity.Spreadsheet.IWorkbooks.OpenXML(System.String)">
          <a class="xref" href="GrapeCity.Spreadsheet.IWorkbooks.OpenXML.html#GrapeCity_Spreadsheet_IWorkbooks_OpenXML_System_String_">OpenXML(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Opens an XML data file.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
