# C1.LiveLinq.LiveViews.View.AsDynamic

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_LiveLinq_LiveViews_View_AsDynamic_" data-uid="C1.LiveLinq.LiveViews.View.AsDynamic*">AsDynamic Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_LiveLinq_LiveViews_View_AsDynamic_" data-uid="C1.LiveLinq.LiveViews.View.AsDynamic*"></a>
<h4 id="C1_LiveLinq_LiveViews_View_AsDynamic" data-uid="C1.LiveLinq.LiveViews.View.AsDynamic">AsDynamic()</h4>
<div class="markdown level1 summary"><p>Used for views with anonymous type constructor as the result selector,
converts the <a class="xref" href="C1.LiveLinq.LiveViews.View.html">View</a> to a View&lt;dynamic&gt; so it can be used for data binding and programmatic access.</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;dynamic&gt; AsDynamic()</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function AsDynamic() As View(Of Object)</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.LiveViews.View-1.html">View</a>&lt;<span class="xref">dynamic</span>&gt;</td>
      <td><p>A dynamic view.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="C1_LiveLinq_LiveViews_View_AsDynamic_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>A view with anonymous type constructor as the result selector cannot be used for data binding or programmatic access without
applying <a class="xref" href="C1.LiveLinq.LiveViews.View.AsDynamic.html#C1_LiveLinq_LiveViews_View_AsDynamic">AsDynamic()</a> to it. An attempt to do so results in an exception. After applying <a class="xref" href="C1.LiveLinq.LiveViews.View.AsDynamic.html#C1_LiveLinq_LiveViews_View_AsDynamic">AsDynamic()</a>,
such view can be used for data binding and programmatic access without limitations.</p>
</div>
</div>
