# C1.Data.DataSource.ClientCollectionView.AsLive

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Data_DataSource_ClientCollectionView_AsLive_" data-uid="C1.Data.DataSource.ClientCollectionView.AsLive*">AsLive Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Data_DataSource_ClientCollectionView_AsLive_" data-uid="C1.Data.DataSource.ClientCollectionView.AsLive*"></a>
<h4 id="C1_Data_DataSource_ClientCollectionView_AsLive__1" data-uid="C1.Data.DataSource.ClientCollectionView.AsLive``1">AsLive&lt;T&gt;()</h4>
<div class="markdown level1 summary"><p>Converts this <a class="xref" href="C1.Data.DataSource.ClientCollectionView.html">ClientCollectionView</a> to a <a class="xref" href="../C1.LiveLinq.4.8/C1.LiveLinq.LiveViews.View-1.html">live view</a>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public View&lt;T&gt; AsLive&lt;T&gt;()</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function AsLive(Of T)() As View(Of T)</code></pre>
</div>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="../C1.LiveLinq.4.8/C1.LiveLinq.LiveViews.View-1.html">View</a>&lt;T&gt;</td>
      <td><p>The resulting <a class="xref" href="../C1.LiveLinq.4.8/C1.LiveLinq.LiveViews.View-1.html">live view</a>.</p>
</td>
    </tr>
  </tbody>
</table>
<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><p>The type of the elements in this collection view.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="C1_Data_DataSource_ClientCollectionView_AsLive__1_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>This method does not change the <a class="xref" href="C1.Data.DataSource.ClientCollectionView.html">ClientCollectionView</a> in any way, it just exposes its live view functionality.</p>
<p>This method is not supported for a <a class="xref" href="C1.Data.DataSource.ClientViewSource.html">ClientViewSource</a> in <a class="xref" href="C1.Data.DataSource.ClientViewSource.VirtualMode.html#C1_Data_DataSource_ClientViewSource_VirtualMode">virtual mode</a>.</p>
</div>
<h5 class="exceptions">Exceptions</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Condition</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.notsupportedexception">NotSupportedException</a></td>
      <td><p>The <a class="xref" href="C1.Data.DataSource.ClientViewSource.html">ClientViewSource</a> is in <a class="xref" href="C1.Data.DataSource.ClientViewSource.VirtualMode.html#C1_Data_DataSource_ClientViewSource_VirtualMode">virtual mode</a>.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
