# C1.C1Preview.DataBinding.Query.CommandType

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_C1Preview_DataBinding_Query_CommandType_" data-uid="C1.C1Preview.DataBinding.Query.CommandType*">CommandType Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_C1Preview_DataBinding_Query_CommandType_" data-uid="C1.C1Preview.DataBinding.Query.CommandType*"></a>
<h4 id="C1_C1Preview_DataBinding_Query_CommandType" data-uid="C1.C1Preview.DataBinding.Query.CommandType">CommandType</h4>
<div class="markdown level1 summary"><p>Gets or sets the type of query assigned to the <a class="xref" href="C1.C1Preview.DataBinding.Query.CommandText.html#C1_C1Preview_DataBinding_Query_CommandText">CommandText</a> property
on the current query.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public CommandTypeEnum CommandType { get; set; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Property CommandType As CommandTypeEnum</code></pre>
</div>
</div>
