# C1.DataCollection.BindingList.C1DataCollectionBindingList.-ctor

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_DataCollection_BindingList_C1DataCollectionBindingList__ctor_" data-uid="C1.DataCollection.BindingList.C1DataCollectionBindingList.#ctor*">C1DataCollectionBindingList Constructor
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_DataCollection_BindingList_C1DataCollectionBindingList__ctor_" data-uid="C1.DataCollection.BindingList.C1DataCollectionBindingList.#ctor*"></a>
<h4 id="C1_DataCollection_BindingList_C1DataCollectionBindingList__ctor" data-uid="C1.DataCollection.BindingList.C1DataCollectionBindingList.#ctor">C1DataCollectionBindingList()</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.DataCollection.BindingList.C1DataCollectionBindingList.html">C1DataCollectionBindingList</a> class.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public C1DataCollectionBindingList()</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New()</code></pre>
</div>


<a id="C1_DataCollection_BindingList_C1DataCollectionBindingList__ctor_" data-uid="C1.DataCollection.BindingList.C1DataCollectionBindingList.#ctor*"></a>
<h4 id="C1_DataCollection_BindingList_C1DataCollectionBindingList__ctor_System_Collections_IEnumerable_" data-uid="C1.DataCollection.BindingList.C1DataCollectionBindingList.#ctor(System.Collections.IEnumerable)">C1DataCollectionBindingList(IEnumerable)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.DataCollection.BindingList.C1DataCollectionBindingList.html">C1DataCollectionBindingList</a> class.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public C1DataCollectionBindingList(IEnumerable source)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(source As IEnumerable)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.ienumerable">IEnumerable</a></td>
      <td><span class="parametername">source</span></td>
      <td><p>The source.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="C1_DataCollection_BindingList_C1DataCollectionBindingList__ctor_" data-uid="C1.DataCollection.BindingList.C1DataCollectionBindingList.#ctor*"></a>
<h4 id="C1_DataCollection_BindingList_C1DataCollectionBindingList__ctor_C1_DataCollection_IDataCollection_System_Object__System_Boolean_System_Boolean_" data-uid="C1.DataCollection.BindingList.C1DataCollectionBindingList.#ctor(C1.DataCollection.IDataCollection{System.Object},System.Boolean,System.Boolean)">C1DataCollectionBindingList(IDataCollection&lt;object&gt;, bool, bool)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.DataCollection.BindingList.C1DataCollectionBindingList.html">C1DataCollectionBindingList</a> class.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public C1DataCollectionBindingList(IDataCollection&lt;object&gt; dataCollection, bool useNullSentinel = false, bool notifiesReplaceAsReset = false)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(dataCollection As IDataCollection(Of Object), Optional useNullSentinel As Boolean = False, Optional notifiesReplaceAsReset As Boolean = False)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="../C1.DataCollection/C1.DataCollection.IDataCollection-1.html">IDataCollection</a>&lt;<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a>&gt;</td>
      <td><span class="parametername">dataCollection</span></td>
      <td><p>The data collection.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">useNullSentinel</span></td>
      <td><p>Specifies whether the collection indexer will return a sentinel when the underlying collection returns a null item.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">notifiesReplaceAsReset</span></td>
      <td><p>When set to true, will raise Reset notification for item changes instead of ItemChanged.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
