# GrapeCity.CalcEngine.CellValue.-ctor

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_CalcEngine_CellValue__ctor_" data-uid="GrapeCity.CalcEngine.CellValue.#ctor*">CellValue Constructor
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_CalcEngine_CellValue__ctor_" data-uid="GrapeCity.CalcEngine.CellValue.#ctor*"></a>
<h4 id="GrapeCity_CalcEngine_CellValue__ctor_System_TimeSpan_" data-uid="GrapeCity.CalcEngine.CellValue.#ctor(System.TimeSpan)">CellValue(TimeSpan)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.CalcEngine.CellValue.html">CellValue</a> struct.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public CellValue(TimeSpan value)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(value As TimeSpan)</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.timespan">TimeSpan</a></td>
      <td><span class="parametername">value</span></td>
      <td><p>The <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.timespan">TimeSpan</a> value.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="GrapeCity_CalcEngine_CellValue__ctor_" data-uid="GrapeCity.CalcEngine.CellValue.#ctor*"></a>
<h4 id="GrapeCity_CalcEngine_CellValue__ctor_System_DateTime_" data-uid="GrapeCity.CalcEngine.CellValue.#ctor(System.DateTime)">CellValue(DateTime)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.CalcEngine.CellValue.html">CellValue</a> struct.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public CellValue(DateTime value)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(value As Date)</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.datetime">DateTime</a></td>
      <td><span class="parametername">value</span></td>
      <td><p>The <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.datetime">DateTime</a> value</p>
</td>
    </tr>
  </tbody>
</table>


<a id="GrapeCity_CalcEngine_CellValue__ctor_" data-uid="GrapeCity.CalcEngine.CellValue.#ctor*"></a>
<h4 id="GrapeCity_CalcEngine_CellValue__ctor_System_String_" data-uid="GrapeCity.CalcEngine.CellValue.#ctor(System.String)">CellValue(string)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.CalcEngine.CellValue.html">CellValue</a> struct.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public CellValue(string value)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(value 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">value</span></td>
      <td><p>The string value.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="GrapeCity_CalcEngine_CellValue__ctor_" data-uid="GrapeCity.CalcEngine.CellValue.#ctor*"></a>
<h4 id="GrapeCity_CalcEngine_CellValue__ctor_System_Double_" data-uid="GrapeCity.CalcEngine.CellValue.#ctor(System.Double)">CellValue(double)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.CalcEngine.CellValue.html">CellValue</a> struct.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public CellValue(double value)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(value As Double)</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.double">double</a></td>
      <td><span class="parametername">value</span></td>
      <td><p>The double value.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="GrapeCity_CalcEngine_CellValue__ctor_" data-uid="GrapeCity.CalcEngine.CellValue.#ctor*"></a>
<h4 id="GrapeCity_CalcEngine_CellValue__ctor_System_Boolean_" data-uid="GrapeCity.CalcEngine.CellValue.#ctor(System.Boolean)">CellValue(bool)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.CalcEngine.CellValue.html">CellValue</a> struct.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public CellValue(bool value)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(value As Boolean)</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.boolean">bool</a></td>
      <td><span class="parametername">value</span></td>
      <td><p>The boolean value.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="GrapeCity_CalcEngine_CellValue__ctor_" data-uid="GrapeCity.CalcEngine.CellValue.#ctor*"></a>
<h4 id="GrapeCity_CalcEngine_CellValue__ctor_GrapeCity_CalcEngine_CalcError_" data-uid="GrapeCity.CalcEngine.CellValue.#ctor(GrapeCity.CalcEngine.CalcError)">CellValue(CalcError)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.CalcEngine.CellValue.html">CellValue</a> struct.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public CellValue(CalcError value)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(value As CalcError)</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="GrapeCity.CalcEngine.CalcError.html">CalcError</a></td>
      <td><span class="parametername">value</span></td>
      <td><p>The <a class="xref" href="GrapeCity.CalcEngine.CalcError.html">CalcError</a> value.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="GrapeCity_CalcEngine_CellValue__ctor_" data-uid="GrapeCity.CalcEngine.CellValue.#ctor*"></a>
<h4 id="GrapeCity_CalcEngine_CellValue__ctor_System_Object_" data-uid="GrapeCity.CalcEngine.CellValue.#ctor(System.Object)">CellValue(object)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.CalcEngine.CellValue.html">CellValue</a> struct.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public CellValue(object value)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(value As Object)</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.object">object</a></td>
      <td><span class="parametername">value</span></td>
      <td><p>The <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a> value.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
