# GrapeCity.CalcEngine.CellValue

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_CalcEngine_CellValue" data-uid="GrapeCity.CalcEngine.CellValue" class="text-break">CellValue Struct
</h1>
  <div class="markdown level0 summary"><p>Specifies a cell value.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.iequatable-1">IEquatable</a>&lt;<a class="xref" href="GrapeCity.CalcEngine.CellValue.html">CellValue</a>&gt;</div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.CalcEngine.html">GrapeCity.CalcEngine</a></h6>
  <h6><strong>Assembly</strong>: GrapeCity.CalcEngine.dll</h6>
  <h5 id="GrapeCity_CalcEngine_CellValue_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public struct CellValue : IEquatable&lt;CellValue&gt;</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Structure CellValue
    Implements IEquatable(Of CellValue)</code></pre>
  </div>
  <h3 id="constructors">Constructors
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="GrapeCity_CalcEngine_CellValue__ctor_GrapeCity_CalcEngine_CalcError_" data-uid="GrapeCity.CalcEngine.CellValue.#ctor(GrapeCity.CalcEngine.CalcError)">
          <a class="xref" href="GrapeCity.CalcEngine.CellValue.-ctor.html#GrapeCity_CalcEngine_CellValue__ctor_GrapeCity_CalcEngine_CalcError_">CellValue(CalcError)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.CalcEngine.CellValue.html">CellValue</a> struct.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_CalcEngine_CellValue__ctor_System_Boolean_" data-uid="GrapeCity.CalcEngine.CellValue.#ctor(System.Boolean)">
          <a class="xref" href="GrapeCity.CalcEngine.CellValue.-ctor.html#GrapeCity_CalcEngine_CellValue__ctor_System_Boolean_">CellValue(bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.CalcEngine.CellValue.html">CellValue</a> struct.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_CalcEngine_CellValue__ctor_System_DateTime_" data-uid="GrapeCity.CalcEngine.CellValue.#ctor(System.DateTime)">
          <a class="xref" href="GrapeCity.CalcEngine.CellValue.-ctor.html#GrapeCity_CalcEngine_CellValue__ctor_System_DateTime_">CellValue(DateTime)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.CalcEngine.CellValue.html">CellValue</a> struct.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_CalcEngine_CellValue__ctor_System_Double_" data-uid="GrapeCity.CalcEngine.CellValue.#ctor(System.Double)">
          <a class="xref" href="GrapeCity.CalcEngine.CellValue.-ctor.html#GrapeCity_CalcEngine_CellValue__ctor_System_Double_">CellValue(double)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.CalcEngine.CellValue.html">CellValue</a> struct.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_CalcEngine_CellValue__ctor_System_Object_" data-uid="GrapeCity.CalcEngine.CellValue.#ctor(System.Object)">
          <a class="xref" href="GrapeCity.CalcEngine.CellValue.-ctor.html#GrapeCity_CalcEngine_CellValue__ctor_System_Object_">CellValue(object)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.CalcEngine.CellValue.html">CellValue</a> struct.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_CalcEngine_CellValue__ctor_System_String_" data-uid="GrapeCity.CalcEngine.CellValue.#ctor(System.String)">
          <a class="xref" href="GrapeCity.CalcEngine.CellValue.-ctor.html#GrapeCity_CalcEngine_CellValue__ctor_System_String_">CellValue(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.CalcEngine.CellValue.html">CellValue</a> struct.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_CalcEngine_CellValue__ctor_System_TimeSpan_" data-uid="GrapeCity.CalcEngine.CellValue.#ctor(System.TimeSpan)">
          <a class="xref" href="GrapeCity.CalcEngine.CellValue.-ctor.html#GrapeCity_CalcEngine_CellValue__ctor_System_TimeSpan_">CellValue(TimeSpan)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.CalcEngine.CellValue.html">CellValue</a> struct.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="fields">Fields
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="GrapeCity_CalcEngine_CellValue_False" data-uid="GrapeCity.CalcEngine.CellValue.False">
          <a class="xref" href="GrapeCity.CalcEngine.CellValue.False.html">False</a>
        </td>
        <td class="markdown level1 summary"><p>Represents a <code>false</code> cell value.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_CalcEngine_CellValue_Invalid" data-uid="GrapeCity.CalcEngine.CellValue.Invalid">
          <a class="xref" href="GrapeCity.CalcEngine.CellValue.Invalid.html">Invalid</a>
        </td>
        <td class="markdown level1 summary"><p>Represents an invalid cell value.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_CalcEngine_CellValue_True" data-uid="GrapeCity.CalcEngine.CellValue.True">
          <a class="xref" href="GrapeCity.CalcEngine.CellValue.True.html">True</a>
        </td>
        <td class="markdown level1 summary"><p>Represents a <code>true</code> cell value.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="properties">Properties
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="GrapeCity_CalcEngine_CellValue_DateTime" data-uid="GrapeCity.CalcEngine.CellValue.DateTime">
          <a class="xref" href="GrapeCity.CalcEngine.CellValue.DateTime.html#GrapeCity_CalcEngine_CellValue_DateTime">DateTime</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the <a class="xref" href="GrapeCity.CalcEngine.CellValue.DateTime.html#GrapeCity_CalcEngine_CellValue_DateTime">DateTime</a> value.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_CalcEngine_CellValue_Error" data-uid="GrapeCity.CalcEngine.CellValue.Error">
          <a class="xref" href="GrapeCity.CalcEngine.CellValue.Error.html#GrapeCity_CalcEngine_CellValue_Error">Error</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the <a class="xref" href="GrapeCity.CalcEngine.CalcError.html">CalcError</a> value.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_CalcEngine_CellValue_Logical" data-uid="GrapeCity.CalcEngine.CellValue.Logical">
          <a class="xref" href="GrapeCity.CalcEngine.CellValue.Logical.html#GrapeCity_CalcEngine_CellValue_Logical">Logical</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a> value.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_CalcEngine_CellValue_Number" data-uid="GrapeCity.CalcEngine.CellValue.Number">
          <a class="xref" href="GrapeCity.CalcEngine.CellValue.Number.html#GrapeCity_CalcEngine_CellValue_Number">Number</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a> value.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_CalcEngine_CellValue_Object" data-uid="GrapeCity.CalcEngine.CellValue.Object">
          <a class="xref" href="GrapeCity.CalcEngine.CellValue.Object.html#GrapeCity_CalcEngine_CellValue_Object">Object</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a> value.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_CalcEngine_CellValue_Text" data-uid="GrapeCity.CalcEngine.CellValue.Text">
          <a class="xref" href="GrapeCity.CalcEngine.CellValue.Text.html#GrapeCity_CalcEngine_CellValue_Text">Text</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a> value.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_CalcEngine_CellValue_TimeSpan" data-uid="GrapeCity.CalcEngine.CellValue.TimeSpan">
          <a class="xref" href="GrapeCity.CalcEngine.CellValue.TimeSpan.html#GrapeCity_CalcEngine_CellValue_TimeSpan">TimeSpan</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the <a class="xref" href="GrapeCity.CalcEngine.CellValue.TimeSpan.html#GrapeCity_CalcEngine_CellValue_TimeSpan">TimeSpan</a> value.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_CalcEngine_CellValue_Type2" data-uid="GrapeCity.CalcEngine.CellValue.Type2">
          <a class="xref" href="GrapeCity.CalcEngine.CellValue.Type2.html#GrapeCity_CalcEngine_CellValue_Type2">Type2</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a <a class="xref" href="GrapeCity.CalcEngine.ValueType.html">ValueType</a> value that indicates the value type.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="methods">Methods
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="GrapeCity_CalcEngine_CellValue_Box" data-uid="GrapeCity.CalcEngine.CellValue.Box">
          <a class="xref" href="GrapeCity.CalcEngine.CellValue.Box.html#GrapeCity_CalcEngine_CellValue_Box">Box()</a>
        </td>
        <td class="markdown level1 summary"><p>Returned the boxed value of this cell value.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_CalcEngine_CellValue_Equals_GrapeCity_CalcEngine_CellValue_" data-uid="GrapeCity.CalcEngine.CellValue.Equals(GrapeCity.CalcEngine.CellValue)">
          <a class="xref" href="GrapeCity.CalcEngine.CellValue.Equals.html#GrapeCity_CalcEngine_CellValue_Equals_GrapeCity_CalcEngine_CellValue_">Equals(CellValue)</a>
        </td>
        <td class="markdown level1 summary"><p>Indicates whether the current <a class="xref" href="GrapeCity.CalcEngine.CellValue.html">CellValue</a> value is equal to another <a class="xref" href="GrapeCity.CalcEngine.CellValue.html">CellValue</a> value.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_CalcEngine_CellValue_Equals_System_Object_" data-uid="GrapeCity.CalcEngine.CellValue.Equals(System.Object)">
          <a class="xref" href="GrapeCity.CalcEngine.CellValue.Equals.html#GrapeCity_CalcEngine_CellValue_Equals_System_Object_">Equals(object)</a>
        </td>
        <td class="markdown level1 summary"><p>Determines whether the specified <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a>, is equal to this instance.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_CalcEngine_CellValue_GetHashCode" data-uid="GrapeCity.CalcEngine.CellValue.GetHashCode">
          <a class="xref" href="GrapeCity.CalcEngine.CellValue.GetHashCode.html#GrapeCity_CalcEngine_CellValue_GetHashCode">GetHashCode()</a>
        </td>
        <td class="markdown level1 summary"><p>Returns a hash code for this instance.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_CalcEngine_CellValue_GetLogical_GrapeCity_CalcEngine_IEvaluationContext_" data-uid="GrapeCity.CalcEngine.CellValue.GetLogical(GrapeCity.CalcEngine.IEvaluationContext)">
          <a class="xref" href="GrapeCity.CalcEngine.CellValue.GetLogical.html#GrapeCity_CalcEngine_CellValue_GetLogical_GrapeCity_CalcEngine_IEvaluationContext_">GetLogical(IEvaluationContext)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets numeric value from the <a class="xref" href="GrapeCity.CalcEngine.CellValue.html">CellValue</a> object.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_CalcEngine_CellValue_GetNumber_GrapeCity_CalcEngine_IEvaluationContext_" data-uid="GrapeCity.CalcEngine.CellValue.GetNumber(GrapeCity.CalcEngine.IEvaluationContext)">
          <a class="xref" href="GrapeCity.CalcEngine.CellValue.GetNumber.html#GrapeCity_CalcEngine_CellValue_GetNumber_GrapeCity_CalcEngine_IEvaluationContext_">GetNumber(IEvaluationContext)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets numeric value from the <a class="xref" href="GrapeCity.CalcEngine.CellValue.html">CellValue</a> object.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_CalcEngine_CellValue_GetText_GrapeCity_CalcEngine_IEvaluationContext_" data-uid="GrapeCity.CalcEngine.CellValue.GetText(GrapeCity.CalcEngine.IEvaluationContext)">
          <a class="xref" href="GrapeCity.CalcEngine.CellValue.GetText.html#GrapeCity_CalcEngine_CellValue_GetText_GrapeCity_CalcEngine_IEvaluationContext_">GetText(IEvaluationContext)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a> value from the <a class="xref" href="GrapeCity.CalcEngine.CellValue.html">CellValue</a> value.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_CalcEngine_CellValue_IsValid" data-uid="GrapeCity.CalcEngine.CellValue.IsValid">
          <a class="xref" href="GrapeCity.CalcEngine.CellValue.IsValid.html#GrapeCity_CalcEngine_CellValue_IsValid">IsValid()</a>
        </td>
        <td class="markdown level1 summary"><p>Determines whether this cell value is valid.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_CalcEngine_CellValue_Reset" data-uid="GrapeCity.CalcEngine.CellValue.Reset">
          <a class="xref" href="GrapeCity.CalcEngine.CellValue.Reset.html#GrapeCity_CalcEngine_CellValue_Reset">Reset()</a>
        </td>
        <td class="markdown level1 summary"><p>Resets this cell value to <code>null</code>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_CalcEngine_CellValue_SetValue_System_Object_" data-uid="GrapeCity.CalcEngine.CellValue.SetValue(System.Object)">
          <a class="xref" href="GrapeCity.CalcEngine.CellValue.SetValue.html#GrapeCity_CalcEngine_CellValue_SetValue_System_Object_">SetValue(object)</a>
        </td>
        <td class="markdown level1 summary"><p>Sets the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a> value.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
