# FarPoint.Win.Spread.Data.SpreadDataColumn.-ctor

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="FarPoint_Win_Spread_Data_SpreadDataColumn__ctor_" data-uid="FarPoint.Win.Spread.Data.SpreadDataColumn.#ctor*">SpreadDataColumn Constructor
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="FarPoint_Win_Spread_Data_SpreadDataColumn__ctor_" data-uid="FarPoint.Win.Spread.Data.SpreadDataColumn.#ctor*"></a>
<h4 id="FarPoint_Win_Spread_Data_SpreadDataColumn__ctor" data-uid="FarPoint.Win.Spread.Data.SpreadDataColumn.#ctor">SpreadDataColumn()</h4>
<div class="markdown level1 summary"><p>Creates a new Spread data column (no name) where the data type of the column is string.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public SpreadDataColumn()</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New()</code></pre>
</div>


<a id="FarPoint_Win_Spread_Data_SpreadDataColumn__ctor_" data-uid="FarPoint.Win.Spread.Data.SpreadDataColumn.#ctor*"></a>
<h4 id="FarPoint_Win_Spread_Data_SpreadDataColumn__ctor_System_String_" data-uid="FarPoint.Win.Spread.Data.SpreadDataColumn.#ctor(System.String)">SpreadDataColumn(string)</h4>
<div class="markdown level1 summary"><p>Creates a new Spread data column where the data type of the column is string.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public SpreadDataColumn(string columnName)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(columnName As String)</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">columnName</span></td>
      <td><p>Name of the column</p>
</td>
    </tr>
  </tbody>
</table>


<a id="FarPoint_Win_Spread_Data_SpreadDataColumn__ctor_" data-uid="FarPoint.Win.Spread.Data.SpreadDataColumn.#ctor*"></a>
<h4 id="FarPoint_Win_Spread_Data_SpreadDataColumn__ctor_System_String_System_Type_" data-uid="FarPoint.Win.Spread.Data.SpreadDataColumn.#ctor(System.String,System.Type)">SpreadDataColumn(string, Type)</h4>
<div class="markdown level1 summary"><p>Creates a new Spread data column with the specified data type.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public SpreadDataColumn(string dataColumnName, Type columnDataType)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(dataColumnName As String, columnDataType As Type)</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">dataColumnName</span></td>
      <td><p>Name of the column</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.type">Type</a></td>
      <td><span class="parametername">columnDataType</span></td>
      <td><p>Type of the data</p>
</td>
    </tr>
  </tbody>
</table>
</div>
