# GrapeCity.Spreadsheet.ExternalVariable.EvaluateCore

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Spreadsheet_ExternalVariable_EvaluateCore_" data-uid="GrapeCity.Spreadsheet.ExternalVariable.EvaluateCore*">EvaluateCore Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Spreadsheet_ExternalVariable_EvaluateCore_" data-uid="GrapeCity.Spreadsheet.ExternalVariable.EvaluateCore*"></a>
<h4 id="GrapeCity_Spreadsheet_ExternalVariable_EvaluateCore_GrapeCity_CalcEngine_IEvaluationContext_GrapeCity_CalcEngine_IValue_" data-uid="GrapeCity.Spreadsheet.ExternalVariable.EvaluateCore(GrapeCity.CalcEngine.IEvaluationContext,GrapeCity.CalcEngine.IValue)">EvaluateCore(IEvaluationContext, IValue)</h4>
<div class="markdown level1 summary"><p>Evaluates the result of this external variable.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">protected virtual void EvaluateCore(IEvaluationContext context, IValue result)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Protected Overridable Sub EvaluateCore(context As IEvaluationContext, result As IValue)</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/GrapeCity.CalcEngine.IEvaluationContext.html">IEvaluationContext</a></td>
      <td><span class="parametername">context</span></td>
      <td><p>The evaluation context.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="../GrapeCity.CalcEngine/GrapeCity.CalcEngine.IValue.html">IValue</a></td>
      <td><span class="parametername">result</span></td>
      <td><p>An <a class="xref" href="../GrapeCity.CalcEngine/GrapeCity.CalcEngine.IValue.html">IValue</a> object which stores the evaluated result.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="GrapeCity_Spreadsheet_ExternalVariable_EvaluateCore_GrapeCity_CalcEngine_IEvaluationContext_GrapeCity_CalcEngine_IValue__remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>This function is invoked only if the external variable isn't attached with a formula.
If it has formula, the calculation engine will take care everything.</p>
</div>
</div>
