# C1.DataCollection.ISupportEditing-1

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_DataCollection_ISupportEditing_1" data-uid="C1.DataCollection.ISupportEditing`1" class="text-break">ISupportEditing&lt;T&gt; Interface
</h1>
  <div class="markdown level0 summary"><p>Specifies a calling contract for collections that support editing.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.DataCollection.html">C1.DataCollection</a></h6>
  <h6><strong>Assembly</strong>: C1.DataCollection.dll</h6>
  <h5 id="C1_DataCollection_ISupportEditing_1_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public interface ISupportEditing&lt;in T&gt;</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Interface ISupportEditing(Of In T)</code></pre>
  </div>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">T</span></td>
        <td></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_DataCollection_ISupportEditing_1_CanInsert_System_Int32__0_" data-uid="C1.DataCollection.ISupportEditing`1.CanInsert(System.Int32,`0)">
          <a class="xref" href="C1.DataCollection.ISupportEditing-1.CanInsert.html#C1_DataCollection_ISupportEditing_1_CanInsert_System_Int32__0_">CanInsert(int, T)</a>
        </td>
        <td class="markdown level1 summary"><p>Determines whether a new item can be inserted in the collection at the specified <code class="paramref">index</code>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_DataCollection_ISupportEditing_1_CanMove_System_Int32_System_Int32_" data-uid="C1.DataCollection.ISupportEditing`1.CanMove(System.Int32,System.Int32)">
          <a class="xref" href="C1.DataCollection.ISupportEditing-1.CanMove.html#C1_DataCollection_ISupportEditing_1_CanMove_System_Int32_System_Int32_">CanMove(int, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Determines whether the item at <code class="paramref">fromIndex</code> can be moved to <code class="paramref">toIndex</code>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_DataCollection_ISupportEditing_1_CanRemove_System_Int32_" data-uid="C1.DataCollection.ISupportEditing`1.CanRemove(System.Int32)">
          <a class="xref" href="C1.DataCollection.ISupportEditing-1.CanRemove.html#C1_DataCollection_ISupportEditing_1_CanRemove_System_Int32_">CanRemove(int)</a>
        </td>
        <td class="markdown level1 summary"><p>Determines whether the item at the specified <code class="paramref">index</code> can be removed from the collection.</p>
</td>
      </tr>
      <tr>
        <td id="C1_DataCollection_ISupportEditing_1_CanReplace_System_Int32__0_" data-uid="C1.DataCollection.ISupportEditing`1.CanReplace(System.Int32,`0)">
          <a class="xref" href="C1.DataCollection.ISupportEditing-1.CanReplace.html#C1_DataCollection_ISupportEditing_1_CanReplace_System_Int32__0_">CanReplace(int, T)</a>
        </td>
        <td class="markdown level1 summary"><p>Determines whether the item at the specified <code class="paramref">index</code> can be replaced in the collection.</p>
</td>
      </tr>
      <tr>
        <td id="C1_DataCollection_ISupportEditing_1_InsertAsync_System_Int32__0_System_Threading_CancellationToken_" data-uid="C1.DataCollection.ISupportEditing`1.InsertAsync(System.Int32,`0,System.Threading.CancellationToken)">
          <a class="xref" href="C1.DataCollection.ISupportEditing-1.InsertAsync.html#C1_DataCollection_ISupportEditing_1_InsertAsync_System_Int32__0_System_Threading_CancellationToken_">InsertAsync(int, T, CancellationToken)</a>
        </td>
        <td class="markdown level1 summary"><p>Inserts the specified <code class="paramref">item</code> at the specified <code class="paramref">index</code> in the collection.</p>
</td>
      </tr>
      <tr>
        <td id="C1_DataCollection_ISupportEditing_1_MoveAsync_System_Int32_System_Int32_System_Threading_CancellationToken_" data-uid="C1.DataCollection.ISupportEditing`1.MoveAsync(System.Int32,System.Int32,System.Threading.CancellationToken)">
          <a class="xref" href="C1.DataCollection.ISupportEditing-1.MoveAsync.html#C1_DataCollection_ISupportEditing_1_MoveAsync_System_Int32_System_Int32_System_Threading_CancellationToken_">MoveAsync(int, int, CancellationToken)</a>
        </td>
        <td class="markdown level1 summary"><p>Moves an item from the specified <code class="paramref">fromIndex</code> to <code class="paramref">toIndex</code>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_DataCollection_ISupportEditing_1_RemoveAsync_System_Int32_System_Threading_CancellationToken_" data-uid="C1.DataCollection.ISupportEditing`1.RemoveAsync(System.Int32,System.Threading.CancellationToken)">
          <a class="xref" href="C1.DataCollection.ISupportEditing-1.RemoveAsync.html#C1_DataCollection_ISupportEditing_1_RemoveAsync_System_Int32_System_Threading_CancellationToken_">RemoveAsync(int, CancellationToken)</a>
        </td>
        <td class="markdown level1 summary"><p>Removes the item at the specified <code class="paramref">index</code> from the collection.</p>
</td>
      </tr>
      <tr>
        <td id="C1_DataCollection_ISupportEditing_1_ReplaceAsync_System_Int32__0_System_Threading_CancellationToken_" data-uid="C1.DataCollection.ISupportEditing`1.ReplaceAsync(System.Int32,`0,System.Threading.CancellationToken)">
          <a class="xref" href="C1.DataCollection.ISupportEditing-1.ReplaceAsync.html#C1_DataCollection_ISupportEditing_1_ReplaceAsync_System_Int32__0_System_Threading_CancellationToken_">ReplaceAsync(int, T, CancellationToken)</a>
        </td>
        <td class="markdown level1 summary"><p>Replaces the item at the specified <code class="paramref">index</code> by the specified <code class="paramref">item</code>.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
