# GrapeCity.Spreadsheet.IWorksheets

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_Spreadsheet_IWorksheets" data-uid="GrapeCity.Spreadsheet.IWorksheets" class="text-break">IWorksheets Interface
</h1>
  <div class="markdown level0 summary"><p>Represents a set of worksheets in a workbook.</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_IWorksheets_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public interface IWorksheets : IEnumerable&lt;IWorksheet&gt;, IEnumerable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Interface IWorksheets
    Inherits IEnumerable(Of IWorksheet), 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_IWorksheets_Count" data-uid="GrapeCity.Spreadsheet.IWorksheets.Count">
          <a class="xref" href="GrapeCity.Spreadsheet.IWorksheets.Count.html#GrapeCity_Spreadsheet_IWorksheets_Count">Count</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the number of worksheets in the workbook.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_IWorksheets_Item_System_Int32_" data-uid="GrapeCity.Spreadsheet.IWorksheets.Item(System.Int32)">
          <a class="xref" href="GrapeCity.Spreadsheet.IWorksheets.Item.html#GrapeCity_Spreadsheet_IWorksheets_Item_System_Int32_">this[int]</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the specified <a class="xref" href="GrapeCity.Spreadsheet.IWorksheet.html">IWorksheet</a> by the zero based index.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_IWorksheets_Item_System_Int32___" data-uid="GrapeCity.Spreadsheet.IWorksheets.Item(System.Int32[])">
          <a class="xref" href="GrapeCity.Spreadsheet.IWorksheets.Item.html#GrapeCity_Spreadsheet_IWorksheets_Item_System_Int32___">this[int[]]</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the specified <a class="xref" href="GrapeCity.Spreadsheet.IWorksheet.html">IWorksheet</a> objects by the zero based indexes.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_IWorksheets_Item_System_String_" data-uid="GrapeCity.Spreadsheet.IWorksheets.Item(System.String)">
          <a class="xref" href="GrapeCity.Spreadsheet.IWorksheets.Item.html#GrapeCity_Spreadsheet_IWorksheets_Item_System_String_">this[string]</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the specified <a class="xref" href="GrapeCity.Spreadsheet.IWorksheet.html">IWorksheet</a> by the worksheet name.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_IWorksheets_Item_System_String___" data-uid="GrapeCity.Spreadsheet.IWorksheets.Item(System.String[])">
          <a class="xref" href="GrapeCity.Spreadsheet.IWorksheets.Item.html#GrapeCity_Spreadsheet_IWorksheets_Item_System_String___">this[string[]]</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the specified <a class="xref" href="GrapeCity.Spreadsheet.IWorksheet.html">IWorksheet</a> objects by the worksheet names.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_IWorksheets_WorkbookSet" data-uid="GrapeCity.Spreadsheet.IWorksheets.WorkbookSet">
          <a class="xref" href="GrapeCity.Spreadsheet.IWorksheets.WorkbookSet.html#GrapeCity_Spreadsheet_IWorksheets_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_IWorksheets_Add_System_String_System_Int32_" data-uid="GrapeCity.Spreadsheet.IWorksheets.Add(System.String,System.Int32)">
          <a class="xref" href="GrapeCity.Spreadsheet.IWorksheets.Add.html#GrapeCity_Spreadsheet_IWorksheets_Add_System_String_System_Int32_">Add(string, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a new <a class="xref" href="GrapeCity.Spreadsheet.IWorksheet.html">IWorksheet</a>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_IWorksheets_Copy_System_Int32_" data-uid="GrapeCity.Spreadsheet.IWorksheets.Copy(System.Int32)">
          <a class="xref" href="GrapeCity.Spreadsheet.IWorksheets.Copy.html#GrapeCity_Spreadsheet_IWorksheets_Copy_System_Int32_">Copy(int)</a>
        </td>
        <td class="markdown level1 summary"><p>Copies worksheets to the specified position in the <a class="xref" href="GrapeCity.Spreadsheet.IWorksheet.html">IWorksheet</a> collection of the <a class="xref" href="GrapeCity.Spreadsheet.IWorkbook.html">IWorkbook</a>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_IWorksheets_Delete" data-uid="GrapeCity.Spreadsheet.IWorksheets.Delete">
          <a class="xref" href="GrapeCity.Spreadsheet.IWorksheets.Delete.html#GrapeCity_Spreadsheet_IWorksheets_Delete">Delete()</a>
        </td>
        <td class="markdown level1 summary"><p>Delete all worksheets.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_IWorksheets_Move_System_Int32_" data-uid="GrapeCity.Spreadsheet.IWorksheets.Move(System.Int32)">
          <a class="xref" href="GrapeCity.Spreadsheet.IWorksheets.Move.html#GrapeCity_Spreadsheet_IWorksheets_Move_System_Int32_">Move(int)</a>
        </td>
        <td class="markdown level1 summary"><p>Moves worksheets to the specified position in the <a class="xref" href="GrapeCity.Spreadsheet.IWorksheet.html">IWorksheet</a> collection of the <a class="xref" href="GrapeCity.Spreadsheet.IWorkbook.html">IWorkbook</a>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_IWorksheets_Select_System_Boolean_" data-uid="GrapeCity.Spreadsheet.IWorksheets.Select(System.Boolean)">
          <a class="xref" href="GrapeCity.Spreadsheet.IWorksheets.Select.html#GrapeCity_Spreadsheet_IWorksheets_Select_System_Boolean_">Select(bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Selects all worksheets.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
