# C1.Web.Mvc.Sheet.WorkbookTable.-ctor

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Web_Mvc_Sheet_WorkbookTable__ctor_" data-uid="C1.Web.Mvc.Sheet.WorkbookTable.#ctor*">WorkbookTable Constructor
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Web_Mvc_Sheet_WorkbookTable__ctor_" data-uid="C1.Web.Mvc.Sheet.WorkbookTable.#ctor*"></a>
<h4 id="C1_Web_Mvc_Sheet_WorkbookTable__ctor" data-uid="C1.Web.Mvc.Sheet.WorkbookTable.#ctor">WorkbookTable()</h4>
<div class="markdown level1 summary"><p>Creates a WorkbookTable instance.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public WorkbookTable()</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New()</code></pre>
</div>


<a id="C1_Web_Mvc_Sheet_WorkbookTable__ctor_" data-uid="C1.Web.Mvc.Sheet.WorkbookTable.#ctor*"></a>
<h4 id="C1_Web_Mvc_Sheet_WorkbookTable__ctor_System_String_System_String_C1_Web_Mvc_Sheet_WorkbookTableStyle_System_Collections_Generic_List_C1_Web_Mvc_Sheet_WorkbookTableColumn__" data-uid="C1.Web.Mvc.Sheet.WorkbookTable.#ctor(System.String,System.String,C1.Web.Mvc.Sheet.WorkbookTableStyle,System.Collections.Generic.List{C1.Web.Mvc.Sheet.WorkbookTableColumn})">WorkbookTable(string, string, WorkbookTableStyle, List&lt;WorkbookTableColumn&gt;)</h4>
<div class="markdown level1 summary"><p>Creates a WorkbookTable instance.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public WorkbookTable(string name, string range, WorkbookTableStyle style = null, List&lt;WorkbookTableColumn&gt; columns = null)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(name As String, range As String, Optional style As WorkbookTableStyle = Nothing, Optional columns As List(Of WorkbookTableColumn) = Nothing)</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.string">string</a></td>
      <td><span class="parametername">name</span></td>
      <td><p>The name of the table.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">range</span></td>
      <td><p>The range of the table.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.Web.Mvc.Sheet.WorkbookTableStyle.html">WorkbookTableStyle</a></td>
      <td><span class="parametername">style</span></td>
      <td><p>The table style to use with the table.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1">List</a>&lt;<a class="xref" href="C1.Web.Mvc.Sheet.WorkbookTableColumn.html">WorkbookTableColumn</a>&gt;</td>
      <td><span class="parametername">columns</span></td>
      <td><p>The columns of the table.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
