# GrapeCity.CalcEngine.IEvaluationContext.Evaluate

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_CalcEngine_IEvaluationContext_Evaluate_" data-uid="GrapeCity.CalcEngine.IEvaluationContext.Evaluate*">Evaluate Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_CalcEngine_IEvaluationContext_Evaluate_" data-uid="GrapeCity.CalcEngine.IEvaluationContext.Evaluate*"></a>
<h4 id="GrapeCity_CalcEngine_IEvaluationContext_Evaluate_GrapeCity_CalcEngine_Expression_GrapeCity_CalcEngine_IValue_" data-uid="GrapeCity.CalcEngine.IEvaluationContext.Evaluate(GrapeCity.CalcEngine.Expression,GrapeCity.CalcEngine.IValue)">Evaluate(Expression, IValue)</h4>
<div class="markdown level1 summary"><p>Evaluates the specified expression and returns the evaluated result via <code class="paramref">result</code> parameter.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">void Evaluate(Expression expression, IValue result)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Sub Evaluate(expression As Expression, 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><span class="xref">Expression</span></td>
      <td><span class="parametername">expression</span></td>
      <td><p>The expression to evaluate.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="GrapeCity.CalcEngine.IValue.html">IValue</a></td>
      <td><span class="parametername">result</span></td>
      <td><p>The <a class="xref" href="GrapeCity.CalcEngine.IValue.html">IValue</a> object to keep evaluated result.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="GrapeCity_CalcEngine_IEvaluationContext_Evaluate_" data-uid="GrapeCity.CalcEngine.IEvaluationContext.Evaluate*"></a>
<h4 id="GrapeCity_CalcEngine_IEvaluationContext_Evaluate_GrapeCity_CalcEngine_IDelegate_GrapeCity_CalcEngine_IValue_" data-uid="GrapeCity.CalcEngine.IEvaluationContext.Evaluate(GrapeCity.CalcEngine.IDelegate,GrapeCity.CalcEngine.IValue)">Evaluate(IDelegate, IValue)</h4>
<div class="markdown level1 summary"><p>Evaluates the specified expression and returns the evaluated result via <code class="paramref">result</code> parameter.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">void Evaluate(IDelegate @delegate, IValue result)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Sub Evaluate([delegate] As IDelegate, 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.IDelegate.html">IDelegate</a></td>
      <td><span class="parametername">delegate</span></td>
      <td><p>The expression to evaluate.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="GrapeCity.CalcEngine.IValue.html">IValue</a></td>
      <td><span class="parametername">result</span></td>
      <td><p>The <a class="xref" href="GrapeCity.CalcEngine.IValue.html">IValue</a> object to keep evaluated result.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
