# GrapeCity.CalcEngine.IPrimitiveValue

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_CalcEngine_IPrimitiveValue" data-uid="GrapeCity.CalcEngine.IPrimitiveValue" class="text-break">IPrimitiveValue Interface
</h1>
  <div class="markdown level0 summary"><p>Represents an interfaces for a calculated primitive value of calculation engine.</p>
</div>
  <div class="markdown level0 conceptual"></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_IPrimitiveValue_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public interface IPrimitiveValue : IReadonlyPrimitiveValue</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Interface IPrimitiveValue
    Inherits IReadonlyPrimitiveValue</code></pre>
  </div>
  <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_IPrimitiveValue_CompareTo_GrapeCity_CalcEngine_IEvaluationContext_GrapeCity_CalcEngine_IPrimitiveValue_" data-uid="GrapeCity.CalcEngine.IPrimitiveValue.CompareTo(GrapeCity.CalcEngine.IEvaluationContext,GrapeCity.CalcEngine.IPrimitiveValue)">
          <a class="xref" href="GrapeCity.CalcEngine.IPrimitiveValue.CompareTo.html#GrapeCity_CalcEngine_IPrimitiveValue_CompareTo_GrapeCity_CalcEngine_IEvaluationContext_GrapeCity_CalcEngine_IPrimitiveValue_">CompareTo(IEvaluationContext, IPrimitiveValue)</a>
        </td>
        <td class="markdown level1 summary"><p>Compares this instance to a specified <a class="xref" href="GrapeCity.CalcEngine.IPrimitiveValue.html">IPrimitiveValue</a> object and returns an indication of their relative values.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_CalcEngine_IPrimitiveValue_Reset" data-uid="GrapeCity.CalcEngine.IPrimitiveValue.Reset">
          <a class="xref" href="GrapeCity.CalcEngine.IPrimitiveValue.Reset.html#GrapeCity_CalcEngine_IPrimitiveValue_Reset">Reset()</a>
        </td>
        <td class="markdown level1 summary"><p>Resets this <a class="xref" href="GrapeCity.CalcEngine.IPrimitiveValue.html">IPrimitiveValue</a> object to empty.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_CalcEngine_IPrimitiveValue_SetValue_GrapeCity_CalcEngine_CalcError_" data-uid="GrapeCity.CalcEngine.IPrimitiveValue.SetValue(GrapeCity.CalcEngine.CalcError)">
          <a class="xref" href="GrapeCity.CalcEngine.IPrimitiveValue.SetValue.html#GrapeCity_CalcEngine_IPrimitiveValue_SetValue_GrapeCity_CalcEngine_CalcError_">SetValue(CalcError)</a>
        </td>
        <td class="markdown level1 summary"><p>Sets the <a class="xref" href="GrapeCity.CalcEngine.CalcError.html">CalcError</a> value.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_CalcEngine_IPrimitiveValue_SetValue_GrapeCity_CalcEngine_IEvaluationContext_System_Double_" data-uid="GrapeCity.CalcEngine.IPrimitiveValue.SetValue(GrapeCity.CalcEngine.IEvaluationContext,System.Double)">
          <a class="xref" href="GrapeCity.CalcEngine.IPrimitiveValue.SetValue.html#GrapeCity_CalcEngine_IPrimitiveValue_SetValue_GrapeCity_CalcEngine_IEvaluationContext_System_Double_">SetValue(IEvaluationContext, double)</a>
        </td>
        <td class="markdown level1 summary"><p>Sets the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a> value.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_CalcEngine_IPrimitiveValue_SetValue_GrapeCity_CalcEngine_IEvaluationContext_System_String_" data-uid="GrapeCity.CalcEngine.IPrimitiveValue.SetValue(GrapeCity.CalcEngine.IEvaluationContext,System.String)">
          <a class="xref" href="GrapeCity.CalcEngine.IPrimitiveValue.SetValue.html#GrapeCity_CalcEngine_IPrimitiveValue_SetValue_GrapeCity_CalcEngine_IEvaluationContext_System_String_">SetValue(IEvaluationContext, string)</a>
        </td>
        <td class="markdown level1 summary"><p>Sets the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a> value.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_CalcEngine_IPrimitiveValue_SetValue_System_Boolean_" data-uid="GrapeCity.CalcEngine.IPrimitiveValue.SetValue(System.Boolean)">
          <a class="xref" href="GrapeCity.CalcEngine.IPrimitiveValue.SetValue.html#GrapeCity_CalcEngine_IPrimitiveValue_SetValue_System_Boolean_">SetValue(bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Sets the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a> value.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_CalcEngine_IPrimitiveValue_SetValue_System_DateTime_" data-uid="GrapeCity.CalcEngine.IPrimitiveValue.SetValue(System.DateTime)">
          <a class="xref" href="GrapeCity.CalcEngine.IPrimitiveValue.SetValue.html#GrapeCity_CalcEngine_IPrimitiveValue_SetValue_System_DateTime_">SetValue(DateTime)</a>
        </td>
        <td class="markdown level1 summary"><p>Sets the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.datetime">DateTime</a> value.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_CalcEngine_IPrimitiveValue_SetValue_System_Object_System_Boolean_" data-uid="GrapeCity.CalcEngine.IPrimitiveValue.SetValue(System.Object,System.Boolean)">
          <a class="xref" href="GrapeCity.CalcEngine.IPrimitiveValue.SetValue.html#GrapeCity_CalcEngine_IPrimitiveValue_SetValue_System_Object_System_Boolean_">SetValue(object, bool)</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>
      <tr>
        <td id="GrapeCity_CalcEngine_IPrimitiveValue_SetValue_System_TimeSpan_" data-uid="GrapeCity.CalcEngine.IPrimitiveValue.SetValue(System.TimeSpan)">
          <a class="xref" href="GrapeCity.CalcEngine.IPrimitiveValue.SetValue.html#GrapeCity_CalcEngine_IPrimitiveValue_SetValue_System_TimeSpan_">SetValue(TimeSpan)</a>
        </td>
        <td class="markdown level1 summary"><p>Sets the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.timespan">TimeSpan</a> value.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
