# C1.Document.CollectionAction

## Content

<div class="doc-site-dotnet-api-container">




  <h1 id="C1_Document_CollectionAction" data-uid="C1.Document.CollectionAction" class="text-break">CollectionAction Enum
</h1>
  <div class="markdown level0 summary"><p>Describes the action that caused a
<a class="xref" href="C1.Document.INotifyCollection.CollectionChanging.html">CollectionChanging</a> or <a class="xref" href="C1.Document.INotifyCollection.CollectionChanged.html">CollectionChanged</a> events.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Document.html">C1.Document</a></h6>
  <h6><strong>Assembly</strong>: C1.Document.dll</h6>
  <h5 id="C1_Document_CollectionAction_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public enum CollectionAction</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Enum CollectionAction</code></pre>
  </div>
  <h3 id="fields">Fields
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    <thead>
    </thead></thead><tbody>
      <tr>
        <td id="C1_Document_CollectionAction_Clear">Clear</td>
        <td><p>Collection cleared.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Document_CollectionAction_Insert">Insert</td>
        <td><p>Item added to the collection.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Document_CollectionAction_Remove">Remove</td>
        <td><p>Item removed from the collection.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Document_CollectionAction_Set">Set</td>
        <td><p>Items replaced in the collection.</p>
</td>
      </tr>
    </tbody>
  </table>
</div>
