# FarPoint.Web.Spread.SheetViewCollection

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="FarPoint_Web_Spread_SheetViewCollection" data-uid="FarPoint.Web.Spread.SheetViewCollection" class="text-break">SheetViewCollection Class
</h1>
  <div class="markdown level0 summary"><p>Defines a collection of sheets.</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.collectionbase">CollectionBase</a></div>
    <div class="level2"><span class="xref">SheetViewCollection</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <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.ienumerable">IEnumerable</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="FarPoint.Web.Spread.html">FarPoint.Web.Spread</a></h6>
  <h6><strong>Assembly</strong>: FarPoint.Web.Spread.dll</h6>
  <h5 id="FarPoint_Web_Spread_SheetViewCollection_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class SheetViewCollection : CollectionBase, IList, ICollection, IEnumerable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class SheetViewCollection
    Inherits CollectionBase
    Implements IList, ICollection, 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="FarPoint_Web_Spread_SheetViewCollection_Count" data-uid="FarPoint.Web.Spread.SheetViewCollection.Count">
          <a class="xref" href="FarPoint.Web.Spread.SheetViewCollection.Count.html#FarPoint_Web_Spread_SheetViewCollection_Count">Count</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the number of sheets in a collection.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_SheetViewCollection_Item_System_Int32_" data-uid="FarPoint.Web.Spread.SheetViewCollection.Item(System.Int32)">
          <a class="xref" href="FarPoint.Web.Spread.SheetViewCollection.Item.html#FarPoint_Web_Spread_SheetViewCollection_Item_System_Int32_">this[int]</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the sheet at a specific position in the collection.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_SheetViewCollection_Item_System_String_" data-uid="FarPoint.Web.Spread.SheetViewCollection.Item(System.String)">
          <a class="xref" href="FarPoint.Web.Spread.SheetViewCollection.Item.html#FarPoint_Web_Spread_SheetViewCollection_Item_System_String_">this[string]</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the sheet (SheetView object) at the specified position in the collection.</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="FarPoint_Web_Spread_SheetViewCollection_Add_FarPoint_Web_Spread_SheetView_" data-uid="FarPoint.Web.Spread.SheetViewCollection.Add(FarPoint.Web.Spread.SheetView)">
          <a class="xref" href="FarPoint.Web.Spread.SheetViewCollection.Add.html#FarPoint_Web_Spread_SheetViewCollection_Add_FarPoint_Web_Spread_SheetView_">Add(SheetView)</a>
        </td>
        <td class="markdown level1 summary"><p>Adds a sheet to a collection.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_SheetViewCollection_AddRange_System_Collections_ICollection_" data-uid="FarPoint.Web.Spread.SheetViewCollection.AddRange(System.Collections.ICollection)">
          <a class="xref" href="FarPoint.Web.Spread.SheetViewCollection.AddRange.html#FarPoint_Web_Spread_SheetViewCollection_AddRange_System_Collections_ICollection_">AddRange(ICollection)</a>
        </td>
        <td class="markdown level1 summary"><p>Adds a range of sheets to a collection.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_SheetViewCollection_Contains_FarPoint_Web_Spread_SheetView_" data-uid="FarPoint.Web.Spread.SheetViewCollection.Contains(FarPoint.Web.Spread.SheetView)">
          <a class="xref" href="FarPoint.Web.Spread.SheetViewCollection.Contains.html#FarPoint_Web_Spread_SheetViewCollection_Contains_FarPoint_Web_Spread_SheetView_">Contains(SheetView)</a>
        </td>
        <td class="markdown level1 summary"><p>Specifies whether a specified sheet is in the collection.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_SheetViewCollection_Contains_System_String_" data-uid="FarPoint.Web.Spread.SheetViewCollection.Contains(System.String)">
          <a class="xref" href="FarPoint.Web.Spread.SheetViewCollection.Contains.html#FarPoint_Web_Spread_SheetViewCollection_Contains_System_String_">Contains(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Specifies whether a specified sheet is in the collection.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_SheetViewCollection_CopyTo_FarPoint_Web_Spread_SheetView___System_Int32_" data-uid="FarPoint.Web.Spread.SheetViewCollection.CopyTo(FarPoint.Web.Spread.SheetView[],System.Int32)">
          <a class="xref" href="FarPoint.Web.Spread.SheetViewCollection.CopyTo.html#FarPoint_Web_Spread_SheetViewCollection_CopyTo_FarPoint_Web_Spread_SheetView___System_Int32_">CopyTo(SheetView[], int)</a>
        </td>
        <td class="markdown level1 summary"><p>Copies the sheets in the collection to an array.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_SheetViewCollection_GetSheetView_System_String_" data-uid="FarPoint.Web.Spread.SheetViewCollection.GetSheetView(System.String)">
          <a class="xref" href="FarPoint.Web.Spread.SheetViewCollection.GetSheetView.html#FarPoint_Web_Spread_SheetViewCollection_GetSheetView_System_String_">GetSheetView(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the sheet with the specified name from the collection.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_SheetViewCollection_IndexOf_FarPoint_Web_Spread_SheetView_" data-uid="FarPoint.Web.Spread.SheetViewCollection.IndexOf(FarPoint.Web.Spread.SheetView)">
          <a class="xref" href="FarPoint.Web.Spread.SheetViewCollection.IndexOf.html#FarPoint_Web_Spread_SheetViewCollection_IndexOf_FarPoint_Web_Spread_SheetView_">IndexOf(SheetView)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the index of a specified sheet in the collection.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_SheetViewCollection_Insert_System_Int32_FarPoint_Web_Spread_SheetView_" data-uid="FarPoint.Web.Spread.SheetViewCollection.Insert(System.Int32,FarPoint.Web.Spread.SheetView)">
          <a class="xref" href="FarPoint.Web.Spread.SheetViewCollection.Insert.html#FarPoint_Web_Spread_SheetViewCollection_Insert_System_Int32_FarPoint_Web_Spread_SheetView_">Insert(int, SheetView)</a>
        </td>
        <td class="markdown level1 summary"><p>Inserts a specified sheet at a specified place in the collection.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_SheetViewCollection_Move_System_Int32_System_Int32_" data-uid="FarPoint.Web.Spread.SheetViewCollection.Move(System.Int32,System.Int32)">
          <a class="xref" href="FarPoint.Web.Spread.SheetViewCollection.Move.html#FarPoint_Web_Spread_SheetViewCollection_Move_System_Int32_System_Int32_">Move(int, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Moves the specified SheetView to a different index in the collection.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_SheetViewCollection_OnClear" data-uid="FarPoint.Web.Spread.SheetViewCollection.OnClear">
          <a class="xref" href="FarPoint.Web.Spread.SheetViewCollection.OnClear.html#FarPoint_Web_Spread_SheetViewCollection_OnClear">OnClear()</a>
        </td>
        <td class="markdown level1 summary"><p>Processes the OnClear event, which clears the collection.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_SheetViewCollection_OnInsert_System_Int32_System_Object_" data-uid="FarPoint.Web.Spread.SheetViewCollection.OnInsert(System.Int32,System.Object)">
          <a class="xref" href="FarPoint.Web.Spread.SheetViewCollection.OnInsert.html#FarPoint_Web_Spread_SheetViewCollection_OnInsert_System_Int32_System_Object_">OnInsert(int, object)</a>
        </td>
        <td class="markdown level1 summary"><p>Process the OnInsert event which insert a sheet into the collection</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_SheetViewCollection_OnInsertComplete_System_Int32_System_Object_" data-uid="FarPoint.Web.Spread.SheetViewCollection.OnInsertComplete(System.Int32,System.Object)">
          <a class="xref" href="FarPoint.Web.Spread.SheetViewCollection.OnInsertComplete.html#FarPoint_Web_Spread_SheetViewCollection_OnInsertComplete_System_Int32_System_Object_">OnInsertComplete(int, object)</a>
        </td>
        <td class="markdown level1 summary"><p>Processes the OnInsertComplete event, which inserts a sheet in the collection.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_SheetViewCollection_OnRemove_System_Int32_System_Object_" data-uid="FarPoint.Web.Spread.SheetViewCollection.OnRemove(System.Int32,System.Object)">
          <a class="xref" href="FarPoint.Web.Spread.SheetViewCollection.OnRemove.html#FarPoint_Web_Spread_SheetViewCollection_OnRemove_System_Int32_System_Object_">OnRemove(int, object)</a>
        </td>
        <td class="markdown level1 summary"><p>Processes the OnRemove event, which removes a sheet in the collection.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_SheetViewCollection_OnRemoveComplete_System_Int32_System_Object_" data-uid="FarPoint.Web.Spread.SheetViewCollection.OnRemoveComplete(System.Int32,System.Object)">
          <a class="xref" href="FarPoint.Web.Spread.SheetViewCollection.OnRemoveComplete.html#FarPoint_Web_Spread_SheetViewCollection_OnRemoveComplete_System_Int32_System_Object_">OnRemoveComplete(int, object)</a>
        </td>
        <td class="markdown level1 summary"><p>Performs additional custom processes after removing an element from the SheetViewCollection instance.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_SheetViewCollection_OnSet_System_Int32_System_Object_System_Object_" data-uid="FarPoint.Web.Spread.SheetViewCollection.OnSet(System.Int32,System.Object,System.Object)">
          <a class="xref" href="FarPoint.Web.Spread.SheetViewCollection.OnSet.html#FarPoint_Web_Spread_SheetViewCollection_OnSet_System_Int32_System_Object_System_Object_">OnSet(int, object, object)</a>
        </td>
        <td class="markdown level1 summary"><p>Processes the OnSet event, which sets a new sheet in the collection.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_SheetViewCollection_OnSetComplete_System_Int32_System_Object_System_Object_" data-uid="FarPoint.Web.Spread.SheetViewCollection.OnSetComplete(System.Int32,System.Object,System.Object)">
          <a class="xref" href="FarPoint.Web.Spread.SheetViewCollection.OnSetComplete.html#FarPoint_Web_Spread_SheetViewCollection_OnSetComplete_System_Int32_System_Object_System_Object_">OnSetComplete(int, object, object)</a>
        </td>
        <td class="markdown level1 summary"><p>Processes the OnSetComplete event, which sets a new sheet in the collection.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_SheetViewCollection_OnValidate_System_Object_" data-uid="FarPoint.Web.Spread.SheetViewCollection.OnValidate(System.Object)">
          <a class="xref" href="FarPoint.Web.Spread.SheetViewCollection.OnValidate.html#FarPoint_Web_Spread_SheetViewCollection_OnValidate_System_Object_">OnValidate(object)</a>
        </td>
        <td class="markdown level1 summary"><p>Processes the OnValidate event, which validates a sheet in the collection.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_SheetViewCollection_Remove_FarPoint_Web_Spread_SheetView_" data-uid="FarPoint.Web.Spread.SheetViewCollection.Remove(FarPoint.Web.Spread.SheetView)">
          <a class="xref" href="FarPoint.Web.Spread.SheetViewCollection.Remove.html#FarPoint_Web_Spread_SheetViewCollection_Remove_FarPoint_Web_Spread_SheetView_">Remove(SheetView)</a>
        </td>
        <td class="markdown level1 summary"><p>Removes a specified sheet from a collection.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
